Commit ba4e7a64 authored by Ricki Hirner's avatar Ricki Hirner 🐑

Don't use uid2445 column on Android <4.2; alarm ACTION: compare only value (ignore parameters)

parent 526c0e23
Pipeline #6533100 passed with stage
in 17 minutes and 11 seconds
......@@ -106,7 +106,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)
......
Subproject commit 9e6bc81c1a4f953915f03bf02b2c173a58421c17
Subproject commit 4c7eeaf2df2282cd5a70165908ac5ff7cb9254e4
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment