Repository navigation
Clock 2.40 #806
BlackyHawky
announced in
Announcements
Clock 2.40
#806
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Fixes
Improvements
General
computeVolume():Alarm
FOREGROUND_SERVICEcompliance:PendingIntent.getService()withPendingIntent.getBroadcast()targeting "AlarmStateManager" for all alarm state transitions to comply with Android 12+ background execution restrictions;FOREGROUND_SERVICE_TYPE_SPECIAL_USEtoFOREGROUND_SERVICE_TYPE_SYSTEM_EXEMPTED;Intent.FLAG_RECEIVER_FOREGROUNDto user-triggered and real-time alarm broadcasts (notifications, sensors, routing activity);directBootAware="true"so notification dismiss actions work before device unlock;getNextActiveInstanceByAlarmId()to fix repeat-day highlighting lag on dismiss/pre-dismiss;ALARM_ALERT_ACTIONandALARM_DONE_ACTIONas public broadcasts withEXTRA_ALARM_IDandEXTRA_ALARM_LABELfor external automation apps (e.g. Tasker, MacroDroid);Clock
Timer
systemExemptedand broadcast timer actions:foregroundServiceTypefromspecialUsetosystemExemptedin "AndroidManifest.xml" andTimerModel.updateHeadsUpNotification(), removing the unusedPROPERTY_SPECIAL_USE_FGS_SUBTYPEdeclaration;PendingIntent.getBroadcast()withIntent.FLAG_RECEIVER_FOREGROUND;startForegroundService()to preventForegroundServiceDidNotStartInTimeException;startForegroundService()calls inTimerModel.updateAlarmManager()so "AlarmManager" safely falls back to "TimerAlertReceiver" on Android 12+;Stopwatch
FOREGROUND_SERVICE_TYPE_SPECIAL_USEdeclaration from "AndroidManifest.xml";PendingIntent.getService()toPendingIntent.getBroadcast()withIntent.FLAG_RECEIVER_FOREGROUND;StopwatchModel.addLap()by usinggetStopwatch().isRunning();Checksums
This discussion was created from the release Clock 2.40.
All reactions