Merge "Allow setting password during provisioning if FRP is not supported" into rvc-dev am: c3b12c3b00
Change-Id: Ibbc56241e0e249b31467362c55a65ce4970cda2b
This commit is contained in:
@@ -297,7 +297,8 @@ public class ChooseLockGeneric extends SettingsActivity {
|
||||
getSystemService(Context.PERSISTENT_DATA_BLOCK_SERVICE);
|
||||
|
||||
// Can only run during setup if factory reset protection has already been cleared
|
||||
return (pdbm != null && pdbm.getDataBlockSize() == 0);
|
||||
// or if the device does not support FRP.
|
||||
return (pdbm == null || pdbm.getDataBlockSize() == 0);
|
||||
}
|
||||
|
||||
protected Class<? extends ChooseLockGeneric.InternalActivity> getInternalActivityClass() {
|
||||
|
Reference in New Issue
Block a user