diff options
| author | 2025-01-15 16:11:23 +0100 | |
|---|---|---|
| committer | 2025-01-20 11:10:28 +0100 | |
| commit | 43ce1d62e18b1a67227dc70880ce06eb70069e0f (patch) | |
| tree | 4c97384c0e5601a14df420c029df7103e4c0f18e /libs/androidfw/StringPool.cpp | |
| parent | d087826244cfcc8bd9a6609dae04ffb97b13c8c3 (diff) | |
Set IME Switcher nav hint based on IME visibility
The navigationIconHints are computed in
Utilities#calculateNavigationIconHints, using the given value of
showImeSwitcher. This is modified before the call to be true only
if showIme is also true.
This change moves the modification to inside the method, to ensure
consistency. Note, it wouldn't make sense to request showing the IME
Switcher button when the IME itself is not visible.
Flag: EXEMPT refactor
Bug: 366129400
Test: atest NavigationBarTest#testSetImeWindowStatusSysuiState_ImeNotVisibleImeSwitcherButtonVisible
Change-Id: Ia6a04ecd3700acf2078ae2cb4cd2412bcd7caa51
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions