通过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