通过adb 设置、删除、获取 系统配置值。
通过adb 设置、删除、获取 系统配置值。
Key定义在:
frameworks\base\core\java\android\provider\Settings.java
adb shell settings get global/system/secure key
adb shell settings put global/system/secure key
adb shell settings delete global/system/secure key
例子:
[获取KEY“wifi_verbose_logging_enabled”]
E:\>adb shell settings get global wifi_verbose_logging_enabled
0
[设置KEY“wifi_verbose_logging_enabled”]
E:\>adb shell settings put global wifi_verbose_logging_enabled 1
E:\>adb shell settings get global wifi_verbose_logging_enabled
1
posted on 2019-06-21 10:48 huangguanyuan 阅读(3881) 评论(0) 编辑 收藏 举报