Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set "allow" permission by default in "Asus auto start manager" from code

I have an application which needs to run in the background, so I'm using a WakeFullService for that. But in Asus Zenfone it's not working because Auto start manager does not allow the app to run. My expectation is:

  1. To set "allow permission" in auto start manager during our app install or at the time of app opening.

  2. Is there any API available from ASUS Auto Start Manager which can help me check the permission status of my app so that I can notify the user via normal text alert to turn on the permission.

like image 273
Suresh Avatar asked Aug 09 '16 06:08

Suresh


1 Answers

Someone did it for Huawei:

"Protected Apps" setting on Huawei phones, and how to handle it

It would be nice a library / class to detect most common "task killers" (preinstalled or not) and letting user know that they need to disable them (and why) to let some feature work, like beacon detection.

like image 162
FrancescoR Avatar answered Oct 22 '22 11:10

FrancescoR