SetupWizard: always prompt the user to setup a lockscreen
Change-Id: I1a7eaaa7646d04c167b99b7cf9cea3bf7c812d69 Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
This commit is contained in:
parent
f851832f75
commit
729ae5a523
@ -78,9 +78,8 @@ public class CMSetupWizardData extends AbstractSetupData {
|
|||||||
pages.add(new OtherSettingsPage(mContext, this).setHidden(!hasGMS));
|
pages.add(new OtherSettingsPage(mContext, this).setHidden(!hasGMS));
|
||||||
if (SetupWizardUtils.hasFingerprint(mContext) && SetupWizardUtils.isOwner()) {
|
if (SetupWizardUtils.hasFingerprint(mContext) && SetupWizardUtils.isOwner()) {
|
||||||
pages.add(new FingerprintSetupPage(mContext, this));
|
pages.add(new FingerprintSetupPage(mContext, this));
|
||||||
} else if (SetupWizardUtils.frpEnabled(mContext)) {
|
|
||||||
pages.add(new ScreenLockSetupPage(mContext, this));
|
|
||||||
}
|
}
|
||||||
|
pages.add(new ScreenLockSetupPage(mContext, this));
|
||||||
pages.add(new CyanogenSettingsPage(mContext, this));
|
pages.add(new CyanogenSettingsPage(mContext, this));
|
||||||
pages.add(new FinishPage(mContext, this));
|
pages.add(new FinishPage(mContext, this));
|
||||||
return new PageList(pages.toArray(new SetupPage[pages.size()]));
|
return new PageList(pages.toArray(new SetupPage[pages.size()]));
|
||||||
|
Loading…
Reference in New Issue
Block a user