如何忘记“不再询问"? Android M运行时权限对话框中的选择 [英] How to forget the "Never ask again" choice in Android M runtime permission dialog

查看:157
本文介绍了如何忘记“不再询问"? Android M运行时权限对话框中的选择的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道不再询问"复选框布尔标志的存储位置以及如何清除其值?不一定是编程方式,而是手动方式-通过设置,命令或某些工具.尝试清除应用程序数据,卸载,卸载和清除,尝试手动来回切换权限,甚至尝试为模拟器设置更新的棉花糖映像,但没有成功!

I wish to know where the "Never ask again" checkbox boolean flag is stored and how to clear its value? Not necessarily programmatically, but manually - via setting, command or some tool. Tried clearing app data, uninstall, both uninstall and clear, tried manual switching the permissions on/off back and forth, tried even setting up a newer Marshmallow image for the emulator but no luck!

推荐答案

清除数据(设置>应用程序>您的应用程序>存储>清除数据)和卸载应用程序都会清除此标志的状态,以及清除所有其他相关信息该应用程序的运行时权限.

Both clearing data (Settings > Apps > your app > Storage > Clear Data) and uninstalling the app clear the status of this flag, along with clearing everything else related to runtime permissions for the app.

此行为已通过此示例应用.

我似乎还记得在某处看到手动选项,但现在找不到.它可能存在于M Developer Preview版本中,并已被最终6.0版本所撤消.

I seem to recall seeing a manual option for this somewhere, but I can't find it now. It may be something that existed back in the M Developer Preview releases and got pulled for the final 6.0 release.

这篇关于如何忘记“不再询问"? Android M运行时权限对话框中的选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆