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:
@@ -77,9 +77,8 @@ public class CMSetupWizardData extends AbstractSetupData {
|
||||
}
|
||||
if (SetupWizardUtils.hasFingerprint(mContext) && SetupWizardUtils.isOwner()) {
|
||||
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 OtherSettingsPage(mContext, this).setHidden(!hasGMS));
|
||||
pages.add(new DateTimePage(mContext, this));
|
||||
|
||||
Reference in New Issue
Block a user