diff options
| author | 2024-08-02 20:11:09 +0200 | |
|---|---|---|
| committer | 2024-08-02 20:11:09 +0200 | |
| commit | 460b7c50e798e0555b0ae3804b8fbdbd9d99dd5e (patch) | |
| tree | bb4503eb7bf24dc2cbe6694bbfde68000d60c777 /libs/androidfw/StringPool.cpp | |
| parent | 0e6579f271f9aa035aa0ab694763ea157ff3d5d0 (diff) | |
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions