isDevMode() method bug
Opened this issue · 0 comments
vasil-boshnyakov commented
Hello, the implementation of the method isDevMode*()
has a bug:
private fun isDevMode(): Boolean {
return Settings.Secure.getInt(
context.contentResolver,
Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, 0
) != 0
}
should be:
private fun isDevMode(): Boolean {
return Settings.Global.getInt(
context.contentResolver,
Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, 0
) != 0
}