@@ -468,13 +468,13 @@ private static void scheduleNotification(
468468 // are not cancelled by AlarmManager.
469469 if (VERSION .SDK_INT >= VERSION_CODES .S ) {
470470 AlarmManagerCompat .setExactAndAllowWhileIdle (
471- alarmManager ,
472- AlarmManager .RTC_WAKEUP ,
473- notificationDetails .millisecondsSinceEpoch ,
474- pendingIntent );
471+ alarmManager ,
472+ AlarmManager .RTC_WAKEUP ,
473+ notificationDetails .millisecondsSinceEpoch ,
474+ pendingIntent );
475475 } else {
476476 AlarmManagerCompat .setAlarmClock (
477- alarmManager , notificationDetails .millisecondsSinceEpoch , pendingIntent , pendingIntent );
477+ alarmManager , notificationDetails .millisecondsSinceEpoch , pendingIntent , pendingIntent );
478478 }
479479 } else {
480480 AlarmManagerCompat .setExact (
@@ -517,10 +517,7 @@ private static void zonedScheduleNotification(
517517 // are not cancelled by AlarmManager.
518518 if (VERSION .SDK_INT >= VERSION_CODES .S ) {
519519 AlarmManagerCompat .setExactAndAllowWhileIdle (
520- alarmManager ,
521- AlarmManager .RTC_WAKEUP ,
522- epochMilli ,
523- pendingIntent );
520+ alarmManager , AlarmManager .RTC_WAKEUP , epochMilli , pendingIntent );
524521 } else {
525522 AlarmManagerCompat .setAlarmClock (alarmManager , epochMilli , pendingIntent , pendingIntent );
526523 }
@@ -549,13 +546,10 @@ static void scheduleNextRepeatingNotification(
549546 // are not cancelled by AlarmManager.
550547 if (VERSION .SDK_INT >= VERSION_CODES .S ) {
551548 AlarmManagerCompat .setExactAndAllowWhileIdle (
552- alarmManager ,
553- AlarmManager .RTC_WAKEUP ,
554- notificationTriggerTime ,
555- pendingIntent );
549+ alarmManager , AlarmManager .RTC_WAKEUP , notificationTriggerTime , pendingIntent );
556550 } else {
557551 AlarmManagerCompat .setAlarmClock (
558- alarmManager , notificationTriggerTime , pendingIntent , pendingIntent );
552+ alarmManager , notificationTriggerTime , pendingIntent , pendingIntent );
559553 }
560554 saveScheduledNotification (context , notificationDetails );
561555 }
@@ -605,13 +599,10 @@ private static void repeatNotification(
605599 // are not cancelled by AlarmManager.
606600 if (VERSION .SDK_INT >= VERSION_CODES .S ) {
607601 AlarmManagerCompat .setExactAndAllowWhileIdle (
608- alarmManager ,
609- AlarmManager .RTC_WAKEUP ,
610- notificationTriggerTime ,
611- pendingIntent );
602+ alarmManager , AlarmManager .RTC_WAKEUP , notificationTriggerTime , pendingIntent );
612603 } else {
613604 AlarmManagerCompat .setAlarmClock (
614- alarmManager , notificationTriggerTime , pendingIntent , pendingIntent );
605+ alarmManager , notificationTriggerTime , pendingIntent , pendingIntent );
615606 }
616607 } else {
617608 alarmManager .setInexactRepeating (
0 commit comments