Add rounded corners to wifi connection dialog
bug: 69930374 Test: Manually tested and verified Change-Id: I458c12d3642f9866a00eb1b0f9a5b8a323465892
This commit is contained in:
@@ -48,11 +48,16 @@ public class SetupWizardUtils {
|
||||
}
|
||||
|
||||
public static int getTransparentTheme(Intent intent) {
|
||||
if (WizardManagerHelper.isLightTheme(intent, true)) {
|
||||
return R.style.SetupWizardTheme_Light_Transparent;
|
||||
} else {
|
||||
return R.style.SetupWizardTheme_Transparent;
|
||||
final int suwTheme = getTheme(intent);
|
||||
int wifiDialogTheme = R.style.GlifV2Theme_Light_Transparent;
|
||||
if (suwTheme == R.style.GlifV2Theme) {
|
||||
wifiDialogTheme = R.style.GlifV2Theme_Transparent;
|
||||
} else if (suwTheme == R.style.GlifTheme_Light) {
|
||||
wifiDialogTheme = R.style.SetupWizardTheme_Light_Transparent;
|
||||
} else if (suwTheme == R.style.GlifTheme) {
|
||||
wifiDialogTheme = R.style.SetupWizardTheme_Transparent;
|
||||
}
|
||||
return wifiDialogTheme;
|
||||
}
|
||||
|
||||
public static void copySetupExtras(Intent fromIntent, Intent toIntent) {
|
||||
|
Reference in New Issue
Block a user