Read theme for lock screen flows
Move the applyThemeResource calls up from the setup wizard specific subclasses up to the settings classes so that it will get GLIF v2 theme on devices that request it. Test: Manual Bug: 62906814 Change-Id: I6ff4ff8d9ed3e6090b35b4ae7197e5d01f5a61f8
This commit is contained in:
@@ -19,10 +19,8 @@ package com.android.settings.password;
|
||||
import android.app.Fragment;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.res.Resources;
|
||||
|
||||
import com.android.settings.SetupRedactionInterstitial;
|
||||
import com.android.settings.SetupWizardUtils;
|
||||
|
||||
/**
|
||||
* Setup Wizard's version of ChooseLockPattern screen. It inherits the logic and basic structure
|
||||
@@ -48,12 +46,6 @@ public class SetupChooseLockPattern extends ChooseLockPattern {
|
||||
return SetupChooseLockPatternFragment.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) {
|
||||
resid = SetupWizardUtils.getTheme(getIntent());
|
||||
super.onApplyThemeResource(theme, resid, first);
|
||||
}
|
||||
|
||||
public static class SetupChooseLockPatternFragment extends ChooseLockPatternFragment {
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user