diff options
author | lumark <lumark@google.com> | 2019-03-27 19:14:33 +0800 |
---|---|---|
committer | lumark <lumark@google.com> | 2019-03-27 19:27:33 +0800 |
commit | d14173e55ac695ce92a94e638b458b3669938b4d (patch) | |
tree | 1698cba3e2376646099db427a4697f918caa4eb8 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 356c5dfd420331434e893f852ee3ac3f307a3c40 (diff) |
Fix LocationOnScreenTests failure
The issue instroduced by CL [1], mis-understood
isSelfAnimating meaning that will also check if the transition is wait
for animating, but it will break the test that use no_animation theme,
that caused delayed will set as true in commitVisibity then
didn't callback onAppTransitionFinishedLocked -> onEnterAnimationComplete
for activity.
Revert to use isRealAnimating to check if need delay to unblock the test
fail.
[1]: I83504d578a17856623a53c04a7d3c54e5bcab5f4
Fix: 129359550
Test: atest LocationOnScreenTests
Change-Id: I913fff0afa6dad1aab83c1f7ad026e3d9e4d56e5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions