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

上一篇:php – Artisan错误记录详细级别


下一篇:python测试开发django-37.外键(ForeignKey)查询