summaryrefslogtreecommitdiff
path: root/services/coverage/java
diff options
context:
space:
mode:
author Ming-Shin Lu <lumark@google.com> 2023-01-16 09:43:02 +0000
committer Ming-Shin Lu <lumark@google.com> 2023-01-16 10:08:21 +0000
commitc6924f7c55ab89169b83b7fe23f4b6460d448465 (patch)
tree4ab92baa19daea994bd471104334030ad9eac247 /services/coverage/java
parent5975f9dc72297286acdfed3e65ca3ef34563901f (diff)
[ImeStateComputer]: Preserve last visible state for STATE_UNCHANGD
In ImeVisibilityStateComputer#computeState, we only keep the legacy behavior to do nothing for handling SOFT_INPUT_STATE_CHANGED flag of the focusing window without changing the requested visiblity. However, with per-windowState based IME visiblity model, we should perserve the requested IME visiblity from the last IME targeted window to the current focusing window in case we are failing the tests related to launching a new activity with STATE_UNCHANGED from the ativity with IME shown. Fix: 265439883 Bug: 246309664 Test: atest InputMethodStressTest:com.android.inputmethod.stresstest\ .AutoShowTest#autoShow_forwardWithKeyboardOn Expect it can passed on the following test parameters combination - windowFocusFlags=0 /* no windowFocusFlags */ - softInputVisibility=1 /* STATE_UNCHANGED flag */ - softInputAdjustment=any() /* SOFT_INPUT_ADJUST_* flags */ Change-Id: I74907f27f275ba6028b4683145205f2cce2b2f45
Diffstat (limited to 'services/coverage/java')
0 files changed, 0 insertions, 0 deletions