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

Skip to content
Commit 460b7c50 authored by Cosmin Băieș's avatar Cosmin Băieș
Browse files

Fix IME Switcher menu starting position

This fixes the starting position when opening the IME Switcher menu.
The behavior is achieved through RecyclerView#scrollToPosition, however
when calling this before the first layout, it (incorrectly) scrolls
such that the selected position is at the top of the list.

This fixes it such that the selected position is at the bottom of the
visible list, by posting this call, such that it's run after the first
layout.

Flag: android.view.inputmethod.ime_switcher_revamp
Bug: 311791923
Test: open the menu with many subtypes enabled and observe
Change-Id: Ice2ee23280494c295e45519aec79eff6205d8a15
parent 0e6579f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment