diff options
author | lumark <lumark@google.com> | 2019-04-25 20:31:30 +0800 |
---|---|---|
committer | lumark <lumark@google.com> | 2019-04-29 20:34:44 +0800 |
commit | b5a78b32f099a5c296798f5f19dd1e6c0617db9f (patch) | |
tree | aadd6af3db651039f3a660ac74f96f2fbbf8d8de /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | f8e4e75dcfcd1daad2e698980546fa8b41d74d3a (diff) |
Suppress transition when mCancelWithDeferredScreenshot as true.
Sometimes, back transition is being suppressed when pressing back key to back
previous task.
It seems that a home transition is active at this point, which suppresses the
activity animation.
If home transition is animate during RecentAnimation invoked, which will suppress
activity animation in AppWindowToken#shouldAnimation, this does not make sense.
Add mCancelWithDeferredScreenshot check to only suppress animation when canceling
recents animation with screenshot case to fix above case.
Bug: 129934735
Test: manual as below steps:
1. Have 2 button navigation enabled.
2. Go to Google News
3. Open article
4. Press back
5. Expect the back transition should not be suppressed.
Test: atest RecentsAnimationControllerTest
Change-Id: Id59b87fb7438b2bc9f4bf33e3009e726fce82562
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions