Create the glifv4 theme and set to glifv4 theme when the themestring is glifv4.
screen shot: https://hsv.googleplex.com/5487921525161984 https://hsv.googleplex.com/4853914928152576 https://hsv.googleplex.com/6492643191160832 https://hsv.googleplex.com/5915886260060160 https://hsv.googleplex.com/6321050657751040 https://hsv.googleplex.com/6222016362315776 Bug: 233036258 Bug: 233032365 Change-Id: If2bb4a82912bfdd18dc17ced11adc59eaf474bed
This commit is contained in:
@@ -48,9 +48,9 @@ public class SetupWizardUtils {
|
||||
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:
|
||||
return R.style.GlifV4Theme_DayNight;
|
||||
case ThemeHelper.THEME_GLIF_V3_LIGHT:
|
||||
case ThemeHelper.THEME_GLIF_V3:
|
||||
return R.style.GlifV3Theme_DayNight;
|
||||
@@ -63,11 +63,12 @@ public class SetupWizardUtils {
|
||||
}
|
||||
} else {
|
||||
switch (theme) {
|
||||
// TODO(b/233032365): Create glif v4 theme for this case.
|
||||
case ThemeHelper.THEME_GLIF_V4_LIGHT:
|
||||
return R.style.GlifV4Theme_Light;
|
||||
case ThemeHelper.THEME_GLIF_V4:
|
||||
return R.style.GlifV4Theme;
|
||||
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:
|
||||
@@ -82,9 +83,9 @@ public class SetupWizardUtils {
|
||||
}
|
||||
} else {
|
||||
switch (theme) {
|
||||
// TODO(b/233032365): Create glif v4 theme for this case.
|
||||
case ThemeHelper.THEME_GLIF_V4_LIGHT:
|
||||
case ThemeHelper.THEME_GLIF_V4:
|
||||
return R.style.GlifV4Theme;
|
||||
case ThemeHelper.THEME_GLIF_V3_LIGHT:
|
||||
case ThemeHelper.THEME_GLIF_V3:
|
||||
return R.style.GlifV3Theme;
|
||||
|
Reference in New Issue
Block a user