Merge "Set stealth mode during inflation" into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
dae216cfcb
@@ -144,6 +144,8 @@ public class KeyguardPatternView extends LinearLayout implements KeyguardSecurit
|
||||
mLockPatternView = findViewById(R.id.lockPatternView);
|
||||
mLockPatternView.setSaveEnabled(false);
|
||||
mLockPatternView.setOnPatternListener(new UnlockPatternListener());
|
||||
mLockPatternView.setInStealthMode(!mLockPatternUtils.isVisiblePatternEnabled(
|
||||
KeyguardUpdateMonitor.getCurrentUser()));
|
||||
|
||||
// vibrate mode will be the same for the life of this screen
|
||||
mLockPatternView.setTactileFeedbackEnabled(mLockPatternUtils.isTactileFeedbackEnabled());
|
||||
|
||||
Reference in New Issue
Block a user