FRP: Enable credential-based factory reset protection by default
Bug: 64436700
Change-Id: I3aed6313e3b6b7e6d6e65c9e822ff123b8cd52cd
Test: Set up PIN, add Google Account, adb shell reboot-bootloader; fastboot -w; verify credential-based unlocking is possible using the PIN from before factory reset
This commit is contained in:
@@ -67,8 +67,7 @@ public class LockPatternUtils {
|
||||
|
||||
private static final String TAG = "LockPatternUtils";
|
||||
private static final boolean DEBUG = false;
|
||||
private static final boolean FRP_CREDENTIAL_ENABLED =
|
||||
Build.IS_DEBUGGABLE && SystemProperties.getBoolean("debug.frpcredential.enable", false);
|
||||
private static final boolean FRP_CREDENTIAL_ENABLED = true;
|
||||
|
||||
/**
|
||||
* The key to identify when the lock pattern enabled flag is being accessed for legacy reasons.
|
||||
|
||||
Reference in New Issue
Block a user