Apply color extraction for sub settings in SuW

Bug: 183713013
Test: Run initBCTestEnv_S.sh and apply different color
Change-Id: Ia06983a8bcfa9cbf190d0c73496b5d70660ffa4e
This commit is contained in:
menghanli
2021-05-24 19:54:29 +08:00
committed by Menghan Li
parent 56713ae05c
commit c3ce01cdde

View File

@@ -107,6 +107,7 @@ public class SettingsBaseActivity extends FragmentActivity {
final int appliedTheme = ThemeHelper.isSetupWizardDayNightEnabled(this) final int appliedTheme = ThemeHelper.isSetupWizardDayNightEnabled(this)
? R.style.SubSettings_SetupWizard : R.style.SudThemeGlifV3_Light; ? R.style.SubSettings_SetupWizard : R.style.SudThemeGlifV3_Light;
setTheme(appliedTheme); setTheme(appliedTheme);
ThemeHelper.trySetDynamicColor(this);
} }
if (FeatureFlagUtils.isEnabled(this, FeatureFlags.SILKY_HOME) if (FeatureFlagUtils.isEnabled(this, FeatureFlags.SILKY_HOME)