diff options
author | George Mount <mount@google.com> | 2019-10-17 14:16:26 -0700 |
---|---|---|
committer | George Mount <mount@google.com> | 2019-10-17 14:24:04 -0700 |
commit | c8fe3628326a02bf335c31986b2db6551cad1dd1 (patch) | |
tree | 783aafaa80bd81772f11ff34416c4db8c1fc7c79 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | fc2cbb96e9c6a5224c20cd8174007718833425cc (diff) |
Clear the EnterTransitionCoordinator only after onResume.
Fixes: 141875256
Fixes: 142224519
In ActivityTransitionState, the mEnterTransitionCoordinator
was being set to null as soon as the transition finished. In
tests, transitions were being finished immediately and the
mEnterTransitionCoordinator was being set to null immediately.
That left time for the same transition to be started again
at a later time.
This waits until the onResume() is called before potentially
clearing the mEnterTransitionCoordinator. This means that all
potential other times where a new EnterTransitionCoordinator
may have been created have already passed and it is safe to
clear the mEnterTransitionCoordinator.
Test: ran ActivityTransition tests
Change-Id: I91978a3c992b533b9074409f05c006fe700d7983
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions