diff options
author | Tiger Huang <tigerhuang@google.com> | 2019-04-08 15:49:18 +0800 |
---|---|---|
committer | Tiger Huang <tigerhuang@google.com> | 2019-04-08 15:49:18 +0800 |
commit | 1ffefc21a2f59d3805f3242f87a86f3dccfd8978 (patch) | |
tree | 4d3ca092df8cc4c44e4215ac7256e10120e10c43 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 835f260d602a319e6670911ff3887f5c6247b33d (diff) |
Set mEnterAnimationPending to true if a window was not visible
mEnterAnimationPending will be cleared when enter-animation is applied.
However, if a window was already visible, the enter-animation won't be
applied. This CL ensures mEnterAnimationPending is set to true only if a
window was not visible to prevent the state of mEnterAnimationPending
from being leaked.
Bug: 128510422
Test: Manual:
1. Go to Settings > Accessibility > Magnification
> Magnify with triple-tap.
2. Turn on "Use service".
3. Triple-tap.
4. Press [back] button.
5. See if the orange border is around the entire screen except the
navigation bar.
Note: 1. ~ 4. should be done within 10 seconds.
Change-Id: Id1a811175214af25ec8014b3f5814cff16d70331
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions