Skip to content
Commit 73c06b92 authored by Jerry Chang's avatar Jerry Chang Committed by 1
Browse files

Prevent caching unexpected IME shown state for legacy split

Due to DisplayImeController listens to insetsChanged and display
rotation at all time, it might caching unexpected IME shown state in
DividerImeController. Since RemoteInsetsControllerTarget only
controlling insets during split mode, it won't receive hideInsets event
when the target app request to hide IME. Thus leaving unexpected IME
state in split component. When the next time entering split screen,
it'll adjust split layout with wrong IME state.

Update to not caching IME shown state in DividerImeController if the
split is not activated.

Bug: 176846448
Test: atest WMShellUnitTests
Test: open IME and rotate and dock two apps in split mode, observed
the divider bar is interactable and there's no dim layer on the
secondary split

Merged-In: I2f63eebb208b8c987a0a05615ddef4f6feef10d6
Change-Id: I2f63eebb208b8c987a0a05615ddef4f6feef10d6
parent 3a9dd32f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment