Merge "Apply the glifv3 theme when the theme string in intentExtra is glifv4." into tm-dev
diff --git a/src/com/android/settings/SetupWizardUtils.java b/src/com/android/settings/SetupWizardUtils.java
index e0292ef..e0e9073 100644
--- a/src/com/android/settings/SetupWizardUtils.java
+++ b/src/com/android/settings/SetupWizardUtils.java
@@ -48,6 +48,9 @@
if (WizardManagerHelper.isAnySetupWizard(intent)) {
if (ThemeHelper.isSetupWizardDayNightEnabled(context)) {
switch (theme) {
+ // TODO(b/233032365): Create glif v4 theme for this case.
+ case ThemeHelper.THEME_GLIF_V4_LIGHT:
+ case ThemeHelper.THEME_GLIF_V4:
case ThemeHelper.THEME_GLIF_V3_LIGHT:
case ThemeHelper.THEME_GLIF_V3:
return R.style.GlifV3Theme_DayNight;
@@ -60,8 +63,11 @@
}
} else {
switch (theme) {
+ // TODO(b/233032365): Create glif v4 theme for this case.
+ case ThemeHelper.THEME_GLIF_V4_LIGHT:
case ThemeHelper.THEME_GLIF_V3_LIGHT:
return R.style.GlifV3Theme_Light;
+ case ThemeHelper.THEME_GLIF_V4:
case ThemeHelper.THEME_GLIF_V3:
return R.style.GlifV3Theme;
case ThemeHelper.THEME_GLIF_V2_LIGHT:
@@ -76,6 +82,9 @@
}
} else {
switch (theme) {
+ // TODO(b/233032365): Create glif v4 theme for this case.
+ case ThemeHelper.THEME_GLIF_V4_LIGHT:
+ case ThemeHelper.THEME_GLIF_V4:
case ThemeHelper.THEME_GLIF_V3_LIGHT:
case ThemeHelper.THEME_GLIF_V3:
return R.style.GlifV3Theme;