commit | c3ce01cdde1cd52d68f9b53d20aac83062ff2578 | [log] [tgz] |
---|---|---|
author | menghanli <menghanli@google.com> | Mon May 24 19:54:29 2021 +0800 |
committer | Menghan Li <menghanli@google.com> | Mon May 24 11:56:31 2021 +0000 |
tree | 0e2d9cf2fd05f3d8ba7ad822126ffb7727a123d4 | |
parent | 56713ae05c3862278241dc0a5d9698dca40fab1a [diff] |
Apply color extraction for sub settings in SuW Bug: 183713013 Test: Run initBCTestEnv_S.sh and apply different color Change-Id: Ia06983a8bcfa9cbf190d0c73496b5d70660ffa4e
diff --git a/src/com/android/settings/core/SettingsBaseActivity.java b/src/com/android/settings/core/SettingsBaseActivity.java index 6af95b2..a032a8b 100644 --- a/src/com/android/settings/core/SettingsBaseActivity.java +++ b/src/com/android/settings/core/SettingsBaseActivity.java
@@ -107,6 +107,7 @@ final int appliedTheme = ThemeHelper.isSetupWizardDayNightEnabled(this) ? R.style.SubSettings_SetupWizard : R.style.SudThemeGlifV3_Light; setTheme(appliedTheme); + ThemeHelper.trySetDynamicColor(this); } if (FeatureFlagUtils.isEnabled(this, FeatureFlags.SILKY_HOME)