In the Android Studio emulator (API 25 only), I can't detect if developer options are enabled.
This code always returns true, even if developer options are not enabled... How can I fix this?
int developerOptions = Settings.Secure.getInt(this.getContentResolver(), Settings.Global.DEVELOPMENT_SETTINGS_ENABLED , 0);
I tried Settings.Global.getInt(this.getContentResolver(), Settings.Global.DEVELOPMENT_SETTINGS_ENABLED , 0);
but I still get the same issue.
from Can't detect if developer options are enabled in API 25?
No comments:
Post a Comment