Fixed issue with pattern not appearing disabled.

Test: Verified that the pattern option now appears disabled when
setting up COPE profile
Fixes 288081292

Change-Id: I43992dc4518a47a41e58e7b9cfd47fb22542e749
This commit is contained in:
Joshua McCloskey
2024-05-16 19:13:24 +00:00
parent 1eca5e767d
commit ee5ddeda6f

View File

@@ -75,6 +75,7 @@ public class SetupChooseLockGeneric extends ChooseLockGeneric {
@Override
protected void onCreate(Bundle savedInstance) {
setTheme(SetupWizardUtils.getTheme(this, getIntent()));
setTheme(R.style.SettingsPreferenceTheme_SetupWizard);
ThemeHelper.trySetDynamicColor(this);
super.onCreate(savedInstance);
@@ -266,7 +267,6 @@ public class SetupChooseLockGeneric extends ChooseLockGeneric {
@Override
public void onViewCreated(@NotNull View view, Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);
GlifPreferenceLayout layout = (GlifPreferenceLayout) view;
int titleResource = R.string.lock_settings_picker_new_lock_title;