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

Commit 010a55d3 authored by Schneider Victor-tulias's avatar Schneider Victor-tulias Committed by Android (Google) Code Review
Browse files

Merge "Fix keyboard quick switch d-pad left/right traversal direction" into udc-dev

parents a5fb95df 8f26e477
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -185,8 +185,8 @@ public class KeyboardQuickSwitchViewController {
                return false;
            }
            boolean traverseBackwards = (keyCode == KeyEvent.KEYCODE_TAB && event.isShiftPressed())
                    || (keyCode == KeyEvent.KEYCODE_DPAD_RIGHT && !isRTL)
                    || (keyCode == KeyEvent.KEYCODE_DPAD_LEFT && isRTL);
                    || (keyCode == KeyEvent.KEYCODE_DPAD_RIGHT && isRTL)
                    || (keyCode == KeyEvent.KEYCODE_DPAD_LEFT && !isRTL);
            int taskCount = mControllerCallbacks.getTaskCount();
            int toIndex = mCurrentFocusIndex == -1
                    // Focus the second-most recent app if possible