Or do you have to implement your own logic for this using wakelocks for example?
Asked
Active
Viewed 395 times
2
-
Depends in what you mean by 'locked' - if a device is 'Dozing' (Marshmallow and up) then Wakelocks are ignored, and I believe notifications won't fire until the Doze maintenance window occurs – Mark Jul 25 '16 at 23:00
-
Sorry,i mean by locked, screen off and key locked – user2312688 Jul 25 '16 at 23:03