With this, you can change any setting in Android within the Global, System or Secure namespace.
There is a list of common settings to choose from but you can enter key by choosing the “other setting” option.
For most of the predefined settings, you can only choose ON or OFF but some have a text input. Please make sure to use a possible value in those cases.
For a manual key, you can find a list of possible keys for each namespace here.
You can also get the current values from a device using USB-Debugging and the command “adb shell settings list global|system|secure“.
Please note that some values might affect the system immediately while others will require a system reboot.
Example #1: Disable the screen rotation using a preset
Example #2: Disable the notification that an open Wi-Fi network is nearby