Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 824a3836 authored by Eric Biggers's avatar Eric Biggers Committed by Android (Google) Code Review
Browse files

Merge "Enable visual feedback when entering FRP pattern"

parents b3b088a2 5162566c
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -1058,7 +1058,10 @@ public class LockPatternUtils {
     */
     */
    @UnsupportedAppUsage
    @UnsupportedAppUsage
    public boolean isVisiblePatternEnabled(int userId) {
    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);
    }
    }


    /**
    /**