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
Loading
Please register or sign in to comment