KeyGestureController: Fix broken actions for Assist key press and long press
Issue: Assist button press action and assist button long press action not working. Log: E KeyGestureController: KEYCODE_ASSIST should be handled in interceptKeyBeforeQueueing Analysis: InputManager routes this key to KeyGestureController first. KeyGestureController then consumes it and logs the WTF, so it never reaches PhoneWindowManager. Flag useKeyGestureEventHandler is true (where?). Solution: Do not consume in KeyGestureController, let policy handle it in PhoneWindowManager. Pipe functions in interceptSystemKeysAndShortcutsNew. Bonus: Seems this would be also broken for KEYCODE_MENU. Let's add same hotfix. Fixes: https://github.com/crdroidandroid/issue_tracker/issues/777 Change-Id: I8ecccc5e83ad963faf45719a186d69b7cdcaa90f
Loading
Please register or sign in to comment