I have an requirement where I need to Wakeup the screen for non-whitelisted app to display the Alarm notifications while application is in Doze mode.
I have gone through the android.developer.guide and I could see we can display the alarm notification for whilelisted app using the following methods setAndAllowWhileIdle() and setExactAndAllowWhileIdle()
Reference Link: https://developer.android.com/training/monitoring-device-state/doze-standby.html#testing_doze
Could some please suggest whether I can wakeup the screen for non-whitelisted application and display the Alarm notifications?