OSDN Git Service

Do not show soft keyboard when locked out on keyguard UI
authorXiyuan Xia <xiyuan@google.com>
Tue, 19 May 2015 22:00:41 +0000 (15:00 -0700)
committerXiyuan Xia <xiyuan@google.com>
Thu, 21 May 2015 01:39:08 +0000 (01:39 +0000)
commitde26ea65a8ca248907688f5b73f6b43f07e0c2d8
treefe5282cb649e57b207c9a8fcf76c3a63451366e6
parent8e9d7d55053094f5cc9ab8bcd5a0a9803ec40dfe
Do not show soft keyboard when locked out on keyguard UI

- Split password entry enabled and input enabled into two states;
- Disable input during lock check;
- Disable password entry when locked out;
- Don't show soft keyboard if password entry is disabled on resume;
- Auto show soft keyboard when password entry becomes enabled;

Bug:20542149
Change-Id: Iffe3f205776143ac21e25e337d5b7a0e6994ebf2
packages/Keyguard/src/com/android/keyguard/KeyguardAbsKeyInputView.java
packages/Keyguard/src/com/android/keyguard/KeyguardPasswordView.java
packages/Keyguard/src/com/android/keyguard/KeyguardPinBasedInputView.java