Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1cafdf8b authored by Robert Carr's avatar Robert Carr
Browse files

Fix removal of IME target.

In the case that the IME target is removed while it is still
the IME target we will trigger a layer assignment before
updating WindowManagerService#mInputMethodTarget. In general in
the new hierarchy model we assume that containers always have SurfaceControl's
but this is only true while they are attached to the hierarchy. Since the
IME target may stick around otherwise until it's cleared we need
to check if it has a surface before using it in this way.

Bug: 69669036
Test: go/wm-smoke
Change-Id: I296549aba45368ee5e88f6e1224024e6105207dd
parent 1edf09c9
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