diff options
author | Riddle Hsu <riddlehsu@google.com> | 2019-05-03 22:22:36 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2019-05-04 03:50:40 +0800 |
commit | 0e59172893e6d49b29f5efd4ce46c65fb2804b58 (patch) | |
tree | f08a350a656254a018d0c14babe40c9b80af59bc /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 43233b72acba8ad4554501cd4f5a7860d9a009fd (diff) |
Fix transition animation of ResolverActivity for home
When touching navigation bar, it may trigger startRecentsActivity
to make the recents (home) activity visible to prepare recents
animation. If the final operation doesn't need the animation, the
animation will be canceled. When the condition is in the middle
of starting activity, the visibility of recents activity will be
updated after setting the transition of next activity. That leads
to the recents activity is added to closing apps so the transition
doesn't choose the animation style for translucent activity.
This change makes the recents activity invisible immediately if
it is really invisible to user, so its visibility change won't
affect the later launch transition.
Bug: 131589476
Test: atest RecentsAnimationTest#testRecentsActivityVisiblility
Change-Id: Ib8b59b9fc8dc40ea17d827a48f2b0cf2c1a1b3dd
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions