summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2018-05-11 09:32:22 -0700
committerchaviw <chaviw@google.com>2018-05-11 15:21:19 -0700
commit5e004f2798c81a0d24d4416afc5680ac0d6f4fe1 (patch)
treefa8995494dd4ec5a2edb08d5895bcc40c470fcad /tools/aapt2/java/JavaClassGenerator_test.cpp
parent9743fae2d97909f83e9f3a1338f7811bce95f120 (diff)
Prevent IME from targeting home when closing app is still animating
There were a few issues that caused the IME target to get set to home. 1. Home is considered above the other apps since it's getting launched. However, the visual representation is actually below the closing app. IME tries to target the highest app, but it's not necessarily the highest visual app 2. computeIme was called before all apps were set up. This caused the IME target to get recomputed before adding the closing apps 3. The condition for a WS.isClosing was based on previous versions so it was incorrect Test: IME closes on top of current target when going home with IME open Change-Id: Id3bee8b8b6c0fba98159b65784b4b8c5b66c27fb Fixes: 78214125
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions