summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoey Rizzoli <joey@cyanogenmoditalia.it>2016-12-12 20:17:45 +0100
committerZhao Wei Liew <zhaoweiliew@gmail.com>2017-02-18 11:39:24 +0800
commit729ae5a52391b179141700616ff93d1f77dc70b5 (patch)
treeac4bb58404680ecad729c32fb46ac57c3e09e9b8
parentf851832f755c8a49b6248e9c2b0267dfeb91f23e (diff)
downloadpackages_apps_SetupWizard-729ae5a52391b179141700616ff93d1f77dc70b5.zip
packages_apps_SetupWizard-729ae5a52391b179141700616ff93d1f77dc70b5.tar.gz
packages_apps_SetupWizard-729ae5a52391b179141700616ff93d1f77dc70b5.tar.bz2
SetupWizard: always prompt the user to setup a lockscreen
Change-Id: I1a7eaaa7646d04c167b99b7cf9cea3bf7c812d69 Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
-rw-r--r--src/com/cyanogenmod/setupwizard/setup/CMSetupWizardData.java3
1 files changed, 1 insertions, 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()]));