mirror of
https://github.com/etesync/android
synced 2024-11-16 04:49:06 +00:00
Don't use uid2445 column on Android <4.2; alarm ACTION: compare only value (ignore parameters)
This commit is contained in:
parent
f1ea00d816
commit
433484626f
@ -139,7 +139,7 @@ public class LocalEvent extends AndroidEvent implements LocalResource {
|
||||
public void prepareForUpload() throws CalendarStorageException {
|
||||
try {
|
||||
String uid = null;
|
||||
@Cleanup Cursor c = calendar.provider.query(eventSyncURI(), new String[] { Events.UID_2445 }, null, null, null);
|
||||
@Cleanup Cursor c = calendar.provider.query(eventSyncURI(), new String[] { COLUMN_UID }, null, null, null);
|
||||
if (c.moveToNext())
|
||||
uid = c.getString(0);
|
||||
if (uid == null)
|
||||
|
Loading…
Reference in New Issue
Block a user