Skip to content

Commit

Permalink
Google Java Format
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed May 17, 2024
1 parent 8749301 commit beea7a2
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}
Expand Down

0 comments on commit beea7a2

Please sign in to comment.