diff options
author | Michael Bestas <mikeioannina@gmail.com> | 2015-04-04 07:27:29 +0300 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-02-03 14:40:44 -0800 |
commit | 698f7f24cb0f138604811dea1357b451e1d601ff (patch) | |
tree | de602922cdeabfbc99b9358334d547bd47580f52 /packages/Keyguard | |
parent | 22869c183610b9c9e17d7cb820f6e7d70daeb93e (diff) | |
download | frameworks_base-698f7f24cb0f138604811dea1357b451e1d601ff.zip frameworks_base-698f7f24cb0f138604811dea1357b451e1d601ff.tar.gz frameworks_base-698f7f24cb0f138604811dea1357b451e1d601ff.tar.bz2 |
Fix pattern visibility settings (1/2)
Change-Id: Ic627953c5df854c442671a98b5da539b994da18b
Diffstat (limited to 'packages/Keyguard')
-rw-r--r-- | packages/Keyguard/src/com/android/keyguard/KeyguardPatternView.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardPatternView.java b/packages/Keyguard/src/com/android/keyguard/KeyguardPatternView.java index 9fc253b..e8dd871 100644 --- a/packages/Keyguard/src/com/android/keyguard/KeyguardPatternView.java +++ b/packages/Keyguard/src/com/android/keyguard/KeyguardPatternView.java @@ -135,8 +135,10 @@ public class KeyguardPatternView extends LinearLayout implements KeyguardSecurit mLockPatternView.setLockPatternUtils(mLockPatternUtils); mLockPatternView.setLockPatternSize(mLockPatternUtils.getLockPatternSize()); - mLockPatternView.setVisibleDots(mLockPatternUtils.isVisibleDotsEnabled()); - mLockPatternView.setShowErrorPath(mLockPatternUtils.isShowErrorPath()); + mLockPatternView.setVisibleDots(mLockPatternUtils.isVisibleDotsEnabled( + KeyguardUpdateMonitor.getCurrentUser())); + mLockPatternView.setShowErrorPath(mLockPatternUtils.isShowErrorPath( + KeyguardUpdateMonitor.getCurrentUser())); // stealth mode will be the same for the life of this screen mLockPatternView.setInStealthMode(!mLockPatternUtils.isVisiblePatternEnabled( |