Using intent broadcast USER_PRESENT in Android O

Viewed 3613

Since O is more enforcing background services, how can I receive a broadcast of USER_PRESENT when targeting 26+ ?

Logcat :

system_process W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.USER_PRESENT flg=0x24200010 } to fr.cab13140.nullcontactdeleter/.BootThread
1 Answers
Related