From 433484626faec86515f8162c3db71e25afe1167c Mon Sep 17 00:00:00 2001 From: Ricki Hirner Date: Fri, 17 Feb 2017 09:55:01 +0100 Subject: [PATCH] Don't use uid2445 column on Android <4.2; alarm ACTION: compare only value (ignore parameters) --- .../main/java/com/etesync/syncadapter/resource/LocalEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/etesync/syncadapter/resource/LocalEvent.java b/app/src/main/java/com/etesync/syncadapter/resource/LocalEvent.java index 8c95dfbb..02d43d2a 100644 --- a/app/src/main/java/com/etesync/syncadapter/resource/LocalEvent.java +++ b/app/src/main/java/com/etesync/syncadapter/resource/LocalEvent.java @@ -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)