Skip to content

Commit 6718bcb

Browse files
akhilnarangRadiumBot
authored andcommitted
Fix some derps
Signed-off-by: Team-Radium <[email protected]>
1 parent c599efa commit 6718bcb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

core/java/com/android/internal/util/radium/Action.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public static void processActionWithOptions(Context context,
8181
}
8282

8383
if (collapseShade) {
84-
if (!action.equals(ActionConstants.ACTION_THEME_SWITCH)) {
84+
if (!action.equals(RadiumActionConstants.ACTION_THEME_SWITCH)) {
8585
try {
8686
barService.collapsePanels();
8787
} catch (RemoteException ex) {
@@ -268,7 +268,7 @@ public static void processActionWithOptions(Context context,
268268
powerManager.wakeUp(SystemClock.uptimeMillis());
269269
}
270270
return;
271-
} else if (action.equals(ActionConstants.ACTION_THEME_SWITCH)) {
271+
} else if (action.equals(RadiumActionConstants.ACTION_THEME_SWITCH)) {
272272
boolean overrideCustomColors = Settings.System.getInt(context.getContentResolver(),
273273
Settings.System.OVERRIDE_CUSTOM_COLORS, 1) == 1;
274274
boolean autoLightMode = Settings.Secure.getIntForUser(

core/java/com/android/internal/util/radium/ActionHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ private static int getActionSystemIcon(Resources systemUiResources, String click
250250
} else if (clickAction.equals(RadiumActionConstants.ACTION_VIB_SILENT)) {
251251
resId = systemUiResources.getIdentifier(
252252
SYSTEMUI_METADATA_NAME + ":drawable/ic_sysbar_ring_vib_silent", null, null);
253-
} else if (clickAction.equals(ActionConstants.ACTION_THEME_SWITCH)) {
253+
} else if (clickAction.equals(RadiumActionConstants.ACTION_THEME_SWITCH)) {
254254
resId = systemUiResources.getIdentifier(
255255
SYSTEMUI_METADATA_NAME + ":drawable/ic_sysbar_theme_switch", null, null);
256256
} else {

0 commit comments

Comments
 (0)