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

Commit 08c25758 authored by Schneider Victor-tulias's avatar Schneider Victor-tulias
Browse files

Fix KQS app launch through tapping

KeyboardQuickSwitchView only ever has 2 direct children, and all of the task views we're actually concerned with are in a scrollview. removing the extra index handling as this is being handled properly downstream.

Flag: LEGACY ENABLE_KEYBOARD_QUICK_SWITCH ENABLED
Fixes: 328692760
Fixes: 304518513
Test: opened KQS and tapped all tasks (6 + overview)
Change-Id: I4e919cce7f1ab55822f93d34c1533062a71aa879
parent 975a0695
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -238,8 +238,7 @@ public class KeyboardQuickSwitchViewController {
        }

        void launchTaskAt(int index) {
            mCurrentFocusIndex = Utilities.boundToRange(
                    index, 0, mKeyboardQuickSwitchView.getChildCount() - 1);
            mCurrentFocusIndex = index;
            mControllers.taskbarActivityContext.launchKeyboardFocusedTask();
        }