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

Commit faf96ebc authored by Tony Mak's avatar Tony Mak
Browse files

Fix calendar reminder notification is not shown in idle state

Bug: 22182280

Change-Id: If1b84ffe868eb44204f26c1d6a6bc76e67281c04
parent 00f0716a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2393,7 +2393,7 @@ public final class CalendarContract {
            intent.setData(ContentUris.withAppendedId(CalendarContract.CONTENT_URI, alarmTime));
            intent.putExtra(ALARM_TIME, alarmTime);
            PendingIntent pi = PendingIntent.getBroadcast(context, 0, intent, 0);
            manager.setExact(AlarmManager.RTC_WAKEUP, alarmTime, pi);
            manager.setExactAndAllowWhileIdle(AlarmManager.RTC_WAKEUP, alarmTime, pi);
        }

        /**