diff --git a/flutter_local_notifications/android/src/main/java/com/dexterous/flutterlocalnotifications/FlutterLocalNotificationsPlugin.java b/flutter_local_notifications/android/src/main/java/com/dexterous/flutterlocalnotifications/FlutterLocalNotificationsPlugin.java index 71c37ec72..49fc6adcb 100644 --- a/flutter_local_notifications/android/src/main/java/com/dexterous/flutterlocalnotifications/FlutterLocalNotificationsPlugin.java +++ b/flutter_local_notifications/android/src/main/java/com/dexterous/flutterlocalnotifications/FlutterLocalNotificationsPlugin.java @@ -896,15 +896,15 @@ private static void setupAllowWhileIdleAlarm( AlarmManagerCompat.setAlarmClock(alarmManager, epochMilli, pendingIntent, pendingIntent); } else { if (notificationDetails.inexactWindowLengthMillis > 0L - && VERSION.SDK_INT >= VERSION_CODES.KITKAT) { + && VERSION.SDK_INT >= VERSION_CODES.KITKAT) { alarmManager.setWindow( - AlarmManager.RTC_WAKEUP, - epochMilli, - notificationDetails.inexactWindowLengthMillis, - pendingIntent); + AlarmManager.RTC_WAKEUP, + epochMilli, + notificationDetails.inexactWindowLengthMillis, + pendingIntent); } else { AlarmManagerCompat.setAndAllowWhileIdle( - alarmManager, AlarmManager.RTC_WAKEUP, epochMilli, pendingIntent); + alarmManager, AlarmManager.RTC_WAKEUP, epochMilli, pendingIntent); } } }