summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Ming-Shin Lu <lumark@google.com> 2023-05-25 18:49:35 +0000
committer Ming-Shin Lu <lumark@google.com> 2023-06-04 14:45:13 +0000
commitf23d750dbbfc3e6753d092e272a2aa7b630d8400 (patch)
treec8e5d789e3d0b465b578da033e4b79ed1e341428 /libs/androidfw/ApkParsing.cpp
parent7502484675309a42b56187a7008ab664918f762e (diff)
Fix next call WIC#show(ime()) failed when the app in multi-window mode
In case the app may not be able to control and failed to show IME with calling WIC#show(ime()) in multi-windowing mode because the request visiblity state out-ouf-sync by the IME control being taken by remote target, in WIC#show(), use the IME source visiblity to check whether the IME is valid to show instead of using the requested visiblity state to fix this case. Bug: 283342812 Test: manual with steps: 1. install "Jetpack Compose Demo" app. 2. open Messenges app as a secondary app of the multi window. 3. open "Jetpack Compose Demo" app. 4. enable split splitscreen of "Jetpack Compose Demo" app by long tapping icon in the recent screen. Choose Messages a a secondary app 5. Navigate "Text" -> "Text Input" -> "Basic input fields" 6. Tap "simple editing single line". Confirm the software keyboard is appeared. 7. Tap back button to close the software keyboard. 8. Tap "simple editing multi line". 9. Ensure the IME being shown as expected Change-Id: I933e02c03f496d4f1f8d43e2602cbf1f87d40899
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions