Skip to content
Commit 417823da authored by Adrian Roos's avatar Adrian Roos
Browse files

IME: Fix broken IME target calculation for child windows

When the IME target ends up being a starting window, we try to use the window
behind it - but fail to take into account the child windows of the window behind,
which may also be candidates for IME targets.

Also unifies the treatment of TYPE_APPLICATION_STARTING regardless of the surface
format (currently, starting windows always have alpha, so this is a no-op change,
but unblocks testing and prevents accidentially triggering the other code path should
we change the screenshot format).

Fixes: 159267713
Bug: 159290973
Test: atest 'DisplayContentTests#testComputeImeTarget_startingWindow'
Change-Id: Iedd5f7407926167f4891ce9b7e9a79e22751e668
parent 0d145e89
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