- Android Direct Boot allows alarms and notifications to function even when the device is rebooting or has been idle for a long period of time. It does this through the use of AlarmManager, setAlarmClock(), Direct Boot APIs like createDeviceProtectedStorageContext, and Foreground Services.
- The app uses AlarmManager, setAlarmClock(), and intents to set repeating alarms that will trigger even when the device reboots or enters Doze mode. It stores persistent data like alarm settings and schedules using Room SQLite database with a Direct Boot compatible context. A Foreground Service plays alarm audio and vibrates even when the app is in the background.