Enable visual feedback when entering FRP pattern am: 7a6cfcc3af
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2700636 Change-Id: I9f1a3da92ebc6b5d87c3bdc0a2dd1c3d05dda7a5 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -986,7 +986,10 @@ public class LockPatternUtils {
|
||||
*/
|
||||
@UnsupportedAppUsage
|
||||
public boolean isVisiblePatternEnabled(int userId) {
|
||||
return getBoolean(Settings.Secure.LOCK_PATTERN_VISIBLE, false, userId);
|
||||
// Default to true, since this gets explicitly set to true when a pattern is first set
|
||||
// anyway, which makes true the user-visible default. The low-level default should be the
|
||||
// same, in order for FRP credential verification to get the same default.
|
||||
return getBoolean(Settings.Secure.LOCK_PATTERN_VISIBLE, true, userId);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user