Update IME layer when non-app window requests visible IME

For activity window, ImePlaceholder is either on top of
TaskDisplayArea or attaches on top of the ActivityRecord.
But for non-activity window, the ImePlaceholder needs to be
moved to another DisplayArea where the window resides.

Fix: 279847237
Test: atest InsetsStateControllerTest \
      #testUpdateAboveInsetsState_zOrderChanged
Change-Id: Id7b4b275913e96e2ccf12b36374a6263cff35490
2 files changed