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

Commit a8d23aaf authored by Fan Zhang's avatar Fan Zhang
Browse files

Add optional metadata to specify icon's background color.

Bug: 77188317
Test: builds
Change-Id: Ic5e26c9caa8caa2e75fccc6de2c1f7130f28ad2c
parent 960a0c6c
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -122,6 +122,13 @@ public class TileUtils {
     */
    public static final String META_DATA_PREFERENCE_ICON = "com.android.settings.icon";

    /**
     * Name of the meta-data item that should be set in the AndroidManifest.xml
     * to specify the icon background color. The value may or may not be used by Settings app.
     */
    public static final String META_DATA_PREFERENCE_ICON_BACKGROUND_HINT =
            "com.android.settings.bg.hint";

    /**
     * Name of the meta-data item that should be set in the AndroidManifest.xml
     * to specify the content provider providing the icon that should be displayed for