How wake up device and show an activity on top of lock screen for alarm?
问题 I have an old android app with an alarm where the user can set a time and alarm behavior like ringtone and ring duration, volume, if it only vibrates or if it's silent. It was working but it stopped working a long time ago due to new android rules and just now I had time to update it but I can't find an up-to-date answer to these questions. Once the alarm is due I need to open an activity, on top of anything, including another app or lock screen, just like the default android alarm or an