How to check Programmatically if the "AutoStart" permission is Enable or disable on android studio ?
In This Image :
How to check Programmatically if the "AutoStart" permission is Enable or disable on android studio ?
In This Image :
There's no way to find out whether the Auto-start option is enabled or not
Source : How to programmatically enable auto start and floating window permissions
For now it's not possible.
As it's completely depend on their operating system API's and customisation. Even developers have requested for this on XIOMI's official forums but there is no response from there side.
Till now even i am finding an answer to this question but nothing helped me.
Source : How to check MIUI autostart permission programmatically?