• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Check autostart in EMUI

Is there a solution for EMUI similar to this this https://dontkillmyapp.com/xiaomi ?

Code:
Autostart autostart = new Autostart(applicationContext);

State state = autostart.getAutoStartState();

if (state == State.DISABLED) {
   // now we are sure that autostart is disabled
   // ask user to enable it manually in the settings app   
} else if (state == State.ENABLED) {
   // now we are also sure that autostart is enabled
}



Need check autostart for Huawei EMUI, thanks
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones