summaryrefslogtreecommitdiff
path: root/native/android/surface_control.cpp
diff options
context:
space:
mode:
authorlumark <lumark@google.com>2019-01-10 15:29:11 +0800
committerlumark <lumark@google.com>2019-01-11 14:17:32 +0800
commitd62bfd20d0df5540f10d40bd950ba6172c5f6f34 (patch)
tree689e58c39cbc4c3f553038f6df4e71dd87edfb93 /native/android/surface_control.cpp
parent3f215a1dea6dba3e3714a8c0ce5caa0214db8078 (diff)
Fix IME window pops up when unlock keyguard with fingerprint
When in KeyguardPasswordView, hide IME window manually with pressing back key to back Keyguard view, and then unlock screen with fingerprint will find IME window pop up suddently. The reason is when KeyguardBouncer#hide will have a call path to pause KeyguardPasswordView & reset the state, but in resetState() will call IMM#showSoftInput even the password entry is invisible. Make sure to not call IMM#showSoftInput when KeyguardPasswordView is in pausing stage or password entry is invisible case to prevent IME pops up in unexpected way. Bug: 112811602 Test: manual as the issue description Change-Id: I3c43d09d4206c48f1afcd8dad79e7978337f1b7d
Diffstat (limited to 'native/android/surface_control.cpp')
0 files changed, 0 insertions, 0 deletions