Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b23cd8ec authored by Makoto Onuki's avatar Makoto Onuki Committed by Android (Google) Code Review
Browse files

Merge "Stop using IntentService and use async receiver (2/2 - contract)"

parents 7b79b631 b63830a7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2392,6 +2392,7 @@ public final class CalendarContract {
            Intent intent = new Intent(ACTION_EVENT_REMINDER);
            intent.setData(ContentUris.withAppendedId(CalendarContract.CONTENT_URI, alarmTime));
            intent.putExtra(ALARM_TIME, alarmTime);
            intent.setFlags(Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND);
            PendingIntent pi = PendingIntent.getBroadcast(context, 0, intent, 0);
            manager.setExactAndAllowWhileIdle(AlarmManager.RTC_WAKEUP, alarmTime, pi);
        }