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

Commit c5fa253c authored by Cosmin Băieș's avatar Cosmin Băieș
Browse files

Enable watch rotary scroll on IME Switcher menu

This enables scrolling on the IME swithcer menu using the watch rotary
input, which requires focus on the scrollable view.

Flag: android.view.inputmethod.ime_switcher_revamp
Bug: 311791923
Test: flash on watch; adb shell input keyevent KEYCODE_SYM
Change-Id: Ifc87b5d145351e2076f2bbd60cf4eb9f1e682783
parent b0a0cf45
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -140,6 +140,8 @@ final class InputMethodMenuControllerNew {
        // Indicate that the list can be scrolled.
        recyclerView.setScrollIndicators(
                hasLanguageSettingsButton ? View.SCROLL_INDICATOR_BOTTOM : 0);
        // Request focus to enable rotary scrolling on watches.
        recyclerView.requestFocus();

        builder.setOnCancelListener(dialog -> hide(displayId, userId));
        mMenuItems = items;