How is alarm snooze/stop activity loaded in Android 10 if we cannot load activity from BroadcastReceiver in Android 10

209 Views Asked by At

In Android 10 there was no provision to launch an activity from a background service like BroadcastReceiver. I am curious to understand how android's default alarm application is loading a snooze/stop activity from the background service. I am trying to implement the same functionality but cannot succeed to launch an activity when the BroadcastReceiver is triggered.

I would like to know how the alarm snooze/stop activity is triggered in the background even though the screen is locked in Android 10. Thanks in advance for helping me understand the concept behind it

0

There are 0 best solutions below