diff options
| author | 2024-12-16 16:48:15 +0100 | |
|---|---|---|
| committer | 2024-12-16 16:48:15 +0100 | |
| commit | 934210182ab143a894ea7fa88f39cb2189084dd7 (patch) | |
| tree | 3975d84f9a81c14d61b79325ceeed2d703519a48 /libs/androidfw/StringPool.cpp | |
| parent | 9856bf30d19107905068d593d463cdfc2f8efd0b (diff) | |
Add shouldShowImeSwitcherButton test API
This adds a test API to check whether the IME Switcher button should be
shown when the IME is shown. This will be used in the tests for the
onCustomImeSwitcherButtonRequestedVisible API, added in [1], to check
whether the button is visible at the start of the test.
This check is done as an assumption rather than an assertion, to relax
the restriction against OEM changes in computing the IME Switcher button
requested visibility.
[1]: I87e87cd30e45f3eb73b009a13cffb1676e067590
Flag: EXEMPT test API
Bug: 384484869
Test: atest InputMethodServiceTest#testOnCustomImeSwitcherButtonRequestedVisible_gestureNav
InputMethodServiceTest#testOnCustomImeSwitcherButtonRequestedVisible_threeButtonNav
Change-Id: I395715cf642dc0b4534f243c58b2e83977195d86
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions