Change SUW theme style for Fingerprint and Face enrollment flow (3/n)
Apply SUW theme style for Fingerprint and Face enrollment flow Flag: EXEMPT Using setup library's flag Bug: 346562327 Test: manually build and perform a visual inspection. Change-Id: Ia6c4c3dbc78f9ad82b7f503d39e883480b09a92d
This commit is contained in:
@@ -78,7 +78,15 @@ public abstract class ConfirmDeviceCredentialBaseActivity extends SettingsActivi
|
||||
setTheme(SetupWizardUtils.getTheme(this, getIntent()));
|
||||
mConfirmCredentialTheme = ConfirmCredentialTheme.NORMAL;
|
||||
}
|
||||
ThemeHelper.trySetDynamicColor(this);
|
||||
|
||||
if (ThemeHelper.shouldApplyGlifExpressiveStyle(getApplicationContext())) {
|
||||
if (!ThemeHelper.trySetSuwTheme(this)) {
|
||||
setTheme(ThemeHelper.getSuwDefaultTheme(getApplicationContext()));
|
||||
ThemeHelper.trySetDynamicColor(this);
|
||||
}
|
||||
} else {
|
||||
ThemeHelper.trySetDynamicColor(this);
|
||||
}
|
||||
super.onCreate(savedState);
|
||||
|
||||
if (mConfirmCredentialTheme == ConfirmCredentialTheme.NORMAL) {
|
||||
|
||||
Reference in New Issue
Block a user