You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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_SERVICE compliance:
Replace PendingIntent.getService() with PendingIntent.getBroadcast() targeting "AlarmStateManager" for all alarm state transitions to comply with Android 12+ background execution restrictions;
Switch "AlarmService" from FOREGROUND_SERVICE_TYPE_SPECIAL_USE to FOREGROUND_SERVICE_TYPE_SYSTEM_EXEMPTED;
Add Intent.FLAG_RECEIVER_FOREGROUND to 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_ACTION and ALARM_DONE_ACTION as public broadcasts with EXTRA_ALARM_ID and EXTRA_ALARM_LABEL for external automation apps (e.g. Tasker, MacroDroid);
Clean up obsolete AOSP comments and update Javadocs;
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 systemExempted and broadcast timer actions:
Switch "TimerService"foregroundServiceType from specialUse to systemExempted in "AndroidManifest.xml" and TimerModel.updateHeadsUpNotification(), removing the unused PROPERTY_SPECIAL_USE_FGS_SUBTYPE declaration;
Route interactive timer notification actions and delete intents in "TimerNotificationBuilder" through "TimerAlertReceiver" using PendingIntent.getBroadcast() with Intent.FLAG_RECEIVER_FOREGROUND;
Validate timer existence in "TimerAlertReceiver" before calling startForegroundService() to prevent ForegroundServiceDidNotStartInTimeException;
Guard direct startForegroundService() calls in TimerModel.updateAlarmManager() so "AlarmManager" safely falls back to "TimerAlertReceiver" on Android 12+;
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_USE declaration from "AndroidManifest.xml";
Switch stopwatch notification actions in "StopwatchNotificationBuilder" from PendingIntent.getService() to PendingIntent.getBroadcast() with Intent.FLAG_RECEIVER_FOREGROUND;
Update stopwatch action references in "DeskClock", "HandleShortcuts", "ShortcutController", and "StopwatchFragment";
Guard against potential NPE on cold start in StopwatchModel.addLap() by using getStopwatch().isRunning();
Change the stopwatch label from "Start" to "Resume" if paused;