From 729ae5a52391b179141700616ff93d1f77dc70b5 Mon Sep 17 00:00:00 2001 From: Joey Rizzoli Date: Mon, 12 Dec 2016 20:17:45 +0100 Subject: SetupWizard: always prompt the user to setup a lockscreen Change-Id: I1a7eaaa7646d04c167b99b7cf9cea3bf7c812d69 Signed-off-by: Joey Rizzoli --- src/com/cyanogenmod/setupwizard/setup/CMSetupWizardData.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/com/cyanogenmod/setupwizard/setup/CMSetupWizardData.java b/src/com/cyanogenmod/setupwizard/setup/CMSetupWizardData.java index 4674b1f..5c90b4e 100644 --- a/src/com/cyanogenmod/setupwizard/setup/CMSetupWizardData.java +++ b/src/com/cyanogenmod/setupwizard/setup/CMSetupWizardData.java @@ -78,9 +78,8 @@ public class CMSetupWizardData extends AbstractSetupData { pages.add(new OtherSettingsPage(mContext, this).setHidden(!hasGMS)); 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 FinishPage(mContext, this)); return new PageList(pages.toArray(new SetupPage[pages.size()])); -- cgit v1.1