What is system API for stoping Doze for an App on Android Marshmallow
Asked Answered
C

0

3

I am looking for android system API implementation for avoiding Doze for particular application. Rather requesting user to confirm adding in whitelisted app for doze.

Caffey answered 5/10, 2016 at 12:2 Comment(3)
I don't think it is possible without user interaction. Check this answer: https://mcmap.net/q/131627/-how-to-whitelist-app-in-doze-mode-android-6-0Trilemma
Compare the package name and you could avoid itResistance
Thanks but I am looking for more clean approach.I am sure it is not public must hidden somewhere in android source :) .Caffey

© 2022 - 2024 — McMap. All rights reserved.