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

Commit 30f59fea authored by JooJooBee666's avatar JooJooBee666 Committed by Steve Kondik
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 b2316a31
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -7419,7 +7419,6 @@ public class WindowManagerService extends IWindowManager.Stub
            }
            }
            if (hardKeyboardAvailable != mHardKeyboardAvailable) {
            if (hardKeyboardAvailable != mHardKeyboardAvailable) {
                mHardKeyboardAvailable = hardKeyboardAvailable;
                mHardKeyboardAvailable = hardKeyboardAvailable;
                mShowImeWithHardKeyboard = hardKeyboardAvailable;
                mH.removeMessages(H.REPORT_HARD_KEYBOARD_STATUS_CHANGE);
                mH.removeMessages(H.REPORT_HARD_KEYBOARD_STATUS_CHANGE);
                mH.sendEmptyMessage(H.REPORT_HARD_KEYBOARD_STATUS_CHANGE);
                mH.sendEmptyMessage(H.REPORT_HARD_KEYBOARD_STATUS_CHANGE);
            }
            }