If the device has FRP, prompt the user to set up a lockscreen
FRP is kind of pointless if the device is freely accessible. Suggest setting up a secure lockscreen during setup. Ref CYNGNOS-3252 Change-Id: Ia807142ab08f388d533b5ee45d1fcbe81071f6d1
This commit is contained in:
committed by
Gerrit Code Review
parent
3dce293b18
commit
8331602e94
@@ -75,6 +75,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 CyanogenSettingsPage(mContext, this));
|
||||
pages.add(new OtherSettingsPage(mContext, this).setHidden(!hasGMS));
|
||||
|
Reference in New Issue
Block a user