platform/android/Rhodes/src/com/rhomobile/rhodes/event/EventStore.java in rhodes-2.3.2 vs platform/android/Rhodes/src/com/rhomobile/rhodes/event/EventStore.java in rhodes-2.4.0.beta.1
- old
+ new
@@ -10,11 +10,10 @@
import android.net.Uri;
import android.os.Build;
import com.rhomobile.rhodes.Capabilities;
import com.rhomobile.rhodes.Logger;
-import com.rhomobile.rhodes.RhodesActivity;
import com.rhomobile.rhodes.RhodesService;
public class EventStore {
private static final String TAG = "EventStore";
@@ -303,10 +302,10 @@
Uri uri = ContentUris.withAppendedId(EVENTS_URI, Long.parseLong(id));
rows = getContentResolver().delete(uri, null, null);
}
else {
Logger.D(TAG, " use new delete scheme");
- int idn = Integer.decode(id).intValue();
+ //int idn = Integer.decode(id).intValue();
Uri du = Uri.withAppendedPath(EVENTS_URI, id);
rows = r.delete(du, null, null);
//rows = r.delete(EVENTS_URI, "_id=?", new String[] {id});
r.notifyChange(EVENTS_URI, null);
}