summaryrefslogtreecommitdiffstats
path: root/policy/src
diff options
context:
space:
mode:
authorDanesh M <daneshm90@gmail.com>2012-08-18 01:01:09 -0400
committerDanesh Mondegarian <daneshm90@gmail.com>2013-03-01 20:25:25 -0500
commit949758a060bf9c710b2696bdc9859d236f1167d2 (patch)
tree64f62d2d7db710fe7db9eebc7c802577bd144589 /policy/src
parentb6739b5bb2816b9daf68e79f1bf4f7c839efcac5 (diff)
downloadframeworks_base-949758a060bf9c710b2696bdc9859d236f1167d2.zip
frameworks_base-949758a060bf9c710b2696bdc9859d236f1167d2.tar.gz
frameworks_base-949758a060bf9c710b2696bdc9859d236f1167d2.tar.bz2
LockscreenPattern : Toggle dots/error pattern visibility (1/2)
Give user ability to hide error pattern / dots. Part 2 : http://review.cyanogenmod.org/#/c/33004/ Patchset 2 : Minor formatting Patchset 3 : Cleanup commit msg Change-Id: I2af7403b0f72c72e13dd1dec73f8d335ff4029bf
Diffstat (limited to 'policy/src')
-rw-r--r--policy/src/com/android/internal/policy/impl/keyguard/KeyguardPatternView.java3
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());