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

Commit 5353cad3 authored by Lucas Dupin's avatar Lucas Dupin Committed by Android (Google) Code Review
Browse files

Merge "Customization settings documentation"

parents cd88027c 1af47a65
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