From 949758a060bf9c710b2696bdc9859d236f1167d2 Mon Sep 17 00:00:00 2001 From: Danesh M Date: Sat, 18 Aug 2012 01:01:09 -0400 Subject: 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 --- .../com/android/internal/policy/impl/keyguard/KeyguardPatternView.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'policy/src') 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()); -- cgit v1.1