Files
tldr/pages.zh/android/settings.md
2021-05-23 10:51:09 -04:00

21 lines
501 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# settings
> 获取关于 Android OS 的信息。
> 更多信息见https://adbinstaller.com/commands/adb-shell-settings-5b670d5ee7958178a2955536>.
-`全局` 命名空间中显示环境变量列表:
`settings list {{global}}`
- 获取指定环境变量的值:
`settings get {{global}} {{airplane_mode_on}}`
- 设置指定环境变量的值:
`settings put {{system}} {{screen_brightness}} {{42}}`
- 删除指定环境变量:
`settings delete {{secure}} {{screensaver_enabled}}`