1
0
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:
Ricki Hirner 2017-02-17 09:55:01 +01:00 committed by Tom Hacohen
parent f1ea00d816
commit 433484626f

View File

@ -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)