Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 26d1d0dc authored by lumark's avatar lumark
Browse files

Fix Password keyboard failing to pop up in LockScreen

Commit 970d9d2e instroduced IME focus controller which
added a new method View#hasImeFocus to restrict the IME keyboard
is focusble only when the focused window won't have either FLAG_NOT_FOCUSABLE
or FLAG_ALT_FOCUSABLE_IM flags.

That unexpected hit a regression that StatusBarWindowController will set
FLAG_ALT_FOCUSABLE_IM when keyguard shows up.

Since FLAG_ALT_FOCUSABLE_IM means the window should not access input
methed, but that conflicts that Password entry needs to interact with keyboard,
hence, it would be make sense remove this flag when keyboardNeedsInput
for correcting behavior.

Fix: 147879741
Test: manual test as below steps:
1) In Settings -> Security -> Screen lock, choose "Password"
2) setup Password and pressing power button to turn-off screen.
3) Turn on screen again and swipe up lock screen.
4) Check if soft-keyboard will shwon when entering Password entry.

Change-Id: I7acd387941b8ef022d636d2da804edb13c4d3ed7
parent 843cd473
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment