From e18c419f9417e3b21939dfb1246abc5b8d38df2f Mon Sep 17 00:00:00 2001 From: menghanli Date: Mon, 5 Jul 2021 19:52:22 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20toggle=20display=20and=20preferen=20style?= =?UTF-8?q?=20old=20style=20and=20barely=20seen=20in=20=E2=80=9CVision=20S?= =?UTF-8?q?ettings=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Root cause: Apply ThemeHelper.trySetDynamicColor would overlay the settings style. Solution: Create SudDynamicColorThemeSettings.SetupWizard to support dynamicColor and settings style. Bug: 192410829 Test: manual test Change-Id: Ic196dfe417e7f804c68ed4ea7bc05b4716999bcf --- res/values/themes_suw.xml | 18 ++++++++++++++++++ ...sibilitySettingsForSetupWizardActivity.java | 14 ++++++++++++-- .../settings/core/SettingsBaseActivity.java | 13 ++++++++++--- 3 files changed, 40 insertions(+), 5 deletions(-) diff --git a/res/values/themes_suw.xml b/res/values/themes_suw.xml index d7b4ca06b67..067ddfb558c 100644 --- a/res/values/themes_suw.xml +++ b/res/values/themes_suw.xml @@ -223,6 +223,24 @@ + + + +