Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1af47a65 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Customization settings documentation

Updated settings documentation to reflect current behavior.

Bug: 195969565
Test: N/A
Change-Id: I76eda9d12b251abbe3f5014f29e8bf0fc6bc6793
parent a94b1660
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
@@ -10111,6 +10111,29 @@ public final class Settings {
         * category, formatted as a serialized {@link org.json.JSONObject}. If there is no
         * corresponding package included for a category, then all overlay packages in that
         * category must be disabled.
         *
         * A few category keys have special meaning and are used for Material You theming.
         *
         * A {@code FabricatedOverlay} containing Material You tonal palettes will be generated
         * in case {@code android.theme.customization.system_palette} contains a
         * {@link android.annotation.ColorInt}.
         *
         * The strategy used for generating the tonal palettes can be defined with the
         * {@code android.theme.customization.theme_style} key, with one of the following options:
         * <ul>
         *   <li> TONAL_SPOT = Default Material You theme since Android S.</li>
         *   <li> VIBRANT = Theme where accent 2 and 3 are analogous to accent 1.</li>
         *   <li> EXPRESSIVE = Highly chromatic theme.</li>
         *   <li> SPRITZ = Desaturated theme, almost greyscale.</li>
         * </ul>
         *
         * Example of valid fabricated theme specification:
         * <pre>
         * {
         *     "android.theme.customization.system_palette":"B1611C",
         *     "android.theme.customization.theme_style":"EXPRESSIVE"
         * }
         * </pre>
         * @hide
         */
        @SystemApi