Skip to content

Commit c599efa

Browse files
NL-BlackDragonsrisurya95
authored andcommitted
TRDS: Fix "Set Notifications and QS colors on theme change" on by default.
Signed-off-by: BlackDragon <[email protected]>
1 parent 38bbf26 commit c599efa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ public static void processActionWithOptions(Context context,
270270
return;
271271
} else if (action.equals(ActionConstants.ACTION_THEME_SWITCH)) {
272272
boolean overrideCustomColors = Settings.System.getInt(context.getContentResolver(),
273-
Settings.System.OVERRIDE_CUSTOM_COLORS, 0) == 1;
273+
Settings.System.OVERRIDE_CUSTOM_COLORS, 1) == 1;
274274
boolean autoLightMode = Settings.Secure.getIntForUser(
275275
context.getContentResolver(),
276276
Settings.Secure.UI_THEME_AUTO_MODE, 0,

services/core/java/com/android/server/UiModeManagerService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ private void sendConfigurationLocked() {
605605
}
606606
try {
607607
boolean overrideCustomColors = Settings.System.getInt(mContext.getContentResolver(),
608-
Settings.System.OVERRIDE_CUSTOM_COLORS, 0) == 1;
608+
Settings.System.OVERRIDE_CUSTOM_COLORS, 1) == 1;
609609
ActivityManagerNative.getDefault().updateConfiguration(mConfiguration);
610610
Toast.makeText(mContext, "updated configuration sent", Toast.LENGTH_SHORT).show();
611611
if (overrideCustomColors) {

0 commit comments

Comments
 (0)