-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SystemUI: theme: Expose theme engine parameters as settings
This adds secure settings for the following theme engine parameters, similar to Android 12 Extensions: - Colorfulness (default 1.0): adb shell settings put secure monet_engine_chroma_factor 1.5 - Custom lightness scale (default 0): adb shell settings put secure monet_engine_linear_lightness 1 - Brightness (default 425, range 0-1000; depends on custom lightness): adb shell settings put secure monet_engine_white_luminance_user 200 - Accurate shades (default 1): adb shell settings put secure monet_engine_accurate_shades 0 - Color override (default null): adb shell settings put secure monet_engine_color_override #ff0000 To reset: adb shell settings delete secure monet_engine_color_override To apply changes, reboot or run the following command (requires root): adb shell su -c am crash com.android.systemui These settings are not currently exposed through a GUI, so for now, they are hidden settings that advanced users can change manually. Change-Id: I2537d095f8d8fee56cf31d07a5c5729f787fd2bd
- Loading branch information
Showing
1 changed file
with
56 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters