diff options
author | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2013-03-04 10:34:23 -0800 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2013-03-04 10:34:23 -0800 |
commit | c9b0de8a7fce5948d2e7aabecfcd392f6eaddcec (patch) | |
tree | fdc6b88cba6b153162d6f06ae50d5acd434d9885 /policy/src | |
parent | b58457906bc916e367f50c537f65bdd6dc28b429 (diff) | |
parent | 949758a060bf9c710b2696bdc9859d236f1167d2 (diff) | |
download | frameworks_base-c9b0de8a7fce5948d2e7aabecfcd392f6eaddcec.zip frameworks_base-c9b0de8a7fce5948d2e7aabecfcd392f6eaddcec.tar.gz frameworks_base-c9b0de8a7fce5948d2e7aabecfcd392f6eaddcec.tar.bz2 |
Merge "LockscreenPattern : Toggle dots/error pattern visibility (1/2)" into cm-10.1
Diffstat (limited to 'policy/src')
-rw-r--r-- | policy/src/com/android/internal/policy/impl/keyguard/KeyguardPatternView.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/policy/src/com/android/internal/policy/impl/keyguard/KeyguardPatternView.java b/policy/src/com/android/internal/policy/impl/keyguard/KeyguardPatternView.java index 8f4414e..14ef93e 100644 --- a/policy/src/com/android/internal/policy/impl/keyguard/KeyguardPatternView.java +++ b/policy/src/com/android/internal/policy/impl/keyguard/KeyguardPatternView.java @@ -123,6 +123,9 @@ public class KeyguardPatternView extends LinearLayout implements KeyguardSecurit mLockPatternView.setOnPatternListener(new UnlockPatternListener()); mLockPatternView.setLockPatternUtils(mLockPatternUtils); + mLockPatternView.setVisibleDots(mLockPatternUtils.isVisibleDotsEnabled()); + mLockPatternView.setShowErrorPath(mLockPatternUtils.isShowErrorPath()); + // stealth mode will be the same for the life of this screen mLockPatternView.setInStealthMode(!mLockPatternUtils.isVisiblePatternEnabled()); |