Skip to content
Commit a70fd879 authored by Tiger Huang's avatar Tiger Huang
Browse files

Set IME insets invisible if the target is above IME

We would remove the insets source of IME before dispatching to the
target above IME previously. However, when the z-order of an invisible
IME is changed, the client may receive unnecessary insets-change
callcacks (InsetsState with or without IME source).

With this CL, as long as IME is invisible, no matter what z-order the
IME has, the client will get the same IME source.

Fix: 152722388
Test: atest ChildlessActivityTest InsetsStateControllerTest
Change-Id: I9f147976be47a9fced4493dba10113b8ab048f4e
parent 82dc6147
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