Skip to content

Commit 390f116

Browse files
neobuddy89darknius09
authored andcommitted
ThemeOverlayManager: Apply wifi and signal icon styles last
Signed-off-by: Pranav Vashi <[email protected]>
1 parent 0827e7c commit 390f116

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

packages/SystemUI/src/com/android/systemui/theme/ThemeOverlayManager.java

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,12 @@ class ThemeOverlayManager {
6767
@VisibleForTesting
6868
static final String OVERLAY_CATEGORY_ICON_THEME_PICKER =
6969
"android.theme.customization.icon_pack.themepicker";
70+
@VisibleForTesting
71+
static final String OVERLAY_CATEGORY_ICON_SIGNAL =
72+
"android.theme.customization.signal_icon";
73+
@VisibleForTesting
74+
static final String OVERLAY_CATEGORY_ICON_WIFI =
75+
"android.theme.customization.wifi_icon";
7076

7177
/*
7278
* All theme customization categories used by the system, in order that they should be applied,
@@ -80,7 +86,9 @@ class ThemeOverlayManager {
8086
OVERLAY_CATEGORY_ICON_ANDROID,
8187
OVERLAY_CATEGORY_ICON_SYSUI,
8288
OVERLAY_CATEGORY_ICON_SETTINGS,
83-
OVERLAY_CATEGORY_ICON_THEME_PICKER);
89+
OVERLAY_CATEGORY_ICON_THEME_PICKER,
90+
OVERLAY_CATEGORY_ICON_SIGNAL,
91+
OVERLAY_CATEGORY_ICON_WIFI);
8492

8593
/* Categories that need to applied to the current user as well as the system user. */
8694
@VisibleForTesting
@@ -125,6 +133,8 @@ class ThemeOverlayManager {
125133
mCategoryToTargetPackage.put(OVERLAY_CATEGORY_ICON_SETTINGS, SETTINGS_PACKAGE);
126134
mCategoryToTargetPackage.put(OVERLAY_CATEGORY_ICON_LAUNCHER, mLauncherPackage);
127135
mCategoryToTargetPackage.put(OVERLAY_CATEGORY_ICON_THEME_PICKER, mThemePickerPackage);
136+
mCategoryToTargetPackage.put(OVERLAY_CATEGORY_ICON_SIGNAL, SYSUI_PACKAGE);
137+
mCategoryToTargetPackage.put(OVERLAY_CATEGORY_ICON_WIFI, SYSUI_PACKAGE);
128138
}
129139

130140
/**

0 commit comments

Comments
 (0)