summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMing-Shin Lu <lumark@google.com>2021-03-23 00:37:34 +0800
committerMing-Shin Lu <lumark@google.com>2021-04-01 22:33:08 +0800
commit739a6809148883b3562ed70bba4d18deed78fd1a (patch)
tree74a7741d18df34c5a0a9827234a0564da4ef5098 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent69dd9831292c217742210a3d79468b4295bbc20d (diff)
Fix unexpected IME visibility restores
As CL[1] introduced in android S for restoring IME visibility when navigating app task for consistent experience if previously the user was interact IME on the app task. However, forcibly restoring IME visibility seems not suitable when the window set the softInputMode like ALWAYS_HIDDEN or STATE_HIDEN with forwarding navigation. Because the app might leverage this flag to hide soft-keyboard with showing their own UI for input (e.g. Dialer or Calculator app). Add a check to not restore IME visibility to fix unexpected IME visible when the softInputMode is in the above cases [1]: I63b144bed6c37569d79fba1c2b63dd4f1074f0f6 Fix: 182116748 Test: atest KeyboardVisibilityControlTest#\ testRestoreImeVisibility_noRestoreForAlwaysHidden Change-Id: I5e49f0a48a16e0b4a46b69f36be6a9d88211e5d5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions