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

Commit 900a8d3e authored by JooJooBee666's avatar JooJooBee666 Committed by Adnan Begovic
Browse files

WindowManagerService: Fix On-Screen keyboard popups when hw-keyboard is present

This fixes the issue with the On-Screen keyboard popping up when users
with a hardware keyboard select a text input field.  The original line of
"mShowImeWithHardKeyboard = hardKeyboardAvailable" is unwarranted and the
call to updateShowImeWithHardKeyboard() was redundant.

Change-Id: Ibf3f05762e72077bbe7946f83b0e320bb94a06c5
parent 969847e1
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -7288,7 +7288,6 @@ public class WindowManagerService extends IWindowManager.Stub
            }
            if (hardKeyboardAvailable != mHardKeyboardAvailable) {
                mHardKeyboardAvailable = hardKeyboardAvailable;
                mShowImeWithHardKeyboard = hardKeyboardAvailable;
                mH.removeMessages(H.REPORT_HARD_KEYBOARD_STATUS_CHANGE);
                mH.sendEmptyMessage(H.REPORT_HARD_KEYBOARD_STATUS_CHANGE);
            }