diff options
author | Tiger Huang <tigerhuang@google.com> | 2021-04-01 02:22:22 +0800 |
---|---|---|
committer | Tiger Huang <tigerhuang@google.com> | 2021-03-31 18:41:15 +0000 |
commit | c2568d6c5898f46e04c97c62c75a9c9e713f6940 (patch) | |
tree | 47f63576ed86bc850ece2df9ebfa781e5c76b950 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 6c9640f8b3217dd964cc5f90ff3c9b1d8833b7bc (diff) |
Set mIsAnimationPending when the leash is not ready
The server might return a control without a leash to a client while the
setup-transaction of the leash has not been applied yet. If the client
tries to play the animation with the control, the animation won't take
effect.
This CL sets mIsAnimationPending while changing the requested visibility
while the leash of the real control (not the fake one in transient mode)
is not ready. So when the client receives the leash later, the animation
will be played.
Fix: 183362710
Test: steps in the bug
Change-Id: I53108bacf98ac76c3f1e46cdae0a98581bef77f5
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions