commit | e8fed24be6345cbb3c5f1e61529f4938bfb6e505 | [log] [tgz] |
---|---|---|
author | Jim Miller <jaggies@google.com> | Fri Oct 03 18:54:03 2014 -0700 |
committer | Jim Miller <jaggies@google.com> | Tue Oct 07 16:50:04 2014 -0700 |
tree | 5ef075854b5ba3a6c6c4f0f2d8e822a255e474bd | |
parent | 6ec5a256d78579057e82691e4cc21ca6222e2b1f [diff] |
Fix "Wrong password" message shown when using BT keyboard. The code was assuming we're always using soft IME. When a physical keyboard is attached, we get two events; ACTION_DOWN and ACTION_UP. The code attempted to unlock the device twice. The second attempt failed because the TextView was cleared by the first successful attempt. Fixes bug 17690585 Change-Id: Ia92a97400b4404d0cbe86aacb727009e95914327