Fixes
- Fix alarm triggering on HyperOS devices (#774);
- Fix the "Stop" button for compact timers in the expired timers view (#785);
- Fix the "Features to display in the editing panel" for timers:
- Hide entries related to the "Vibrate" and "Flash" functionalities for devices without vibrator and without flash;
- Fix tab selection and actions for shortcuts and intents;
Improvements
General
- The use of the "Display a foreground notification" setting should no longer be necessary for most devices thanks to improvements made to alarms and timers (see below);
- Add the ability to not automatically play ringtones when selected (#787);
- Highlight app in DND and battery optimization system settings (#795);
- Add a preview icon to the toolbar of certain settings:
- Icon added for previewing alarms, timers, and the screensaver;
- Support Direct Boot and guard "KeepAliveService" start on boot;
- Remove verbose crescendo volume log in
computeVolume():- This prevents log spam during long ringtone crescendos;
- Improve app performance;
- Update translations;
Alarm
- Modernize alarm state handling and
FOREGROUND_SERVICEcompliance:- Replace
PendingIntent.getService()withPendingIntent.getBroadcast()targeting "AlarmStateManager" for all alarm state transitions to comply with Android 12+ background execution restrictions; - Switch "AlarmService" from
FOREGROUND_SERVICE_TYPE_SPECIAL_USEtoFOREGROUND_SERVICE_TYPE_SYSTEM_EXEMPTED; - Add
Intent.FLAG_RECEIVER_FOREGROUNDto user-triggered and real-time alarm broadcasts (notifications, sensors, routing activity); - Mark "AlarmActionRoutingActivity" as
directBootAware="true"so notification dismiss actions work before device unlock; - Centralize "AlarmVisualCache" updates inside "AlarmStateManager" state methods and use
getNextActiveInstanceByAlarmId()to fix repeat-day highlighting lag on dismiss/pre-dismiss; - Expose
ALARM_ALERT_ACTIONandALARM_DONE_ACTIONas public broadcasts withEXTRA_ALARM_IDandEXTRA_ALARM_LABELfor external automation apps (e.g. Tasker, MacroDroid); - Clean up obsolete AOSP comments and update Javadocs;
- Replace
- Show the alarm screen on the cover display of folded flip phones (#548) by @wlecki:
- Use the area above the cameras and keep alarm cards readable in narrow landscape windows;
- Checked on a Razr 60 Ultra: folded face-up and face-down, cover off, snooze and re-ring, unfolding while it rings, open and locked, volume and power buttons, Doze, and a real overnight alarm;
- Improve alarm preview:
- Add support for vibration, vibration patterns, flash, snooze duration and the "Delete alarm once dismiss" feature;
- Improve the animation of the alarm list when switching categories;
Clock
- Add the ability to change the font size of elements in the Clock tab (#792);
- Add the city of Palma (Balearic Islands) to the list of cities (#786);
Timer
- Migrate "TimerService" to
systemExemptedand broadcast timer actions:- Switch "TimerService"
foregroundServiceTypefromspecialUsetosystemExemptedin "AndroidManifest.xml" andTimerModel.updateHeadsUpNotification(), removing the unusedPROPERTY_SPECIAL_USE_FGS_SUBTYPEdeclaration; - Route interactive timer notification actions and delete intents in "TimerNotificationBuilder" through "TimerAlertReceiver" using
PendingIntent.getBroadcast()withIntent.FLAG_RECEIVER_FOREGROUND; - Validate timer existence in "TimerAlertReceiver" before calling
startForegroundService()to preventForegroundServiceDidNotStartInTimeException; - Guard direct
startForegroundService()calls inTimerModel.updateAlarmManager()so "AlarmManager" safely falls back to "TimerAlertReceiver" on Android 12+;
- Switch "TimerService"
- Improve the display of expired timer notifications (#794):
- If the app is in the foreground, the notification remains hidden;
Stopwatch
- Replace "StopwatchService" with "StopwatchReceiver":
- Replace "StopwatchService" with a non-exported, direct-boot-aware "StopwatchReceiver" and remove its unused
FOREGROUND_SERVICE_TYPE_SPECIAL_USEdeclaration from "AndroidManifest.xml"; - Switch stopwatch notification actions in "StopwatchNotificationBuilder" from
PendingIntent.getService()toPendingIntent.getBroadcast()withIntent.FLAG_RECEIVER_FOREGROUND; - Update stopwatch action references in "DeskClock", "HandleShortcuts", "ShortcutController", and "StopwatchFragment";
- Guard against potential NPE on cold start in
StopwatchModel.addLap()by usinggetStopwatch().isRunning();
- Replace "StopwatchService" with a non-exported, direct-boot-aware "StopwatchReceiver" and remove its unused
- Change the stopwatch label from "Start" to "Resume" if paused;
Checksums
| Version | SHA-256 |
|---|---|
| Release | 0d2027d83b148b87f9923ea8616cd691910fab65108d93a703852936ac3bf67d |
| Debug | 284534da4b33650bc04320b0f34efb386a6e6441c85fcb481866718cd30989e9 |