tldr/pages.zh/android/settings.md

21 lines
501 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 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}}`