summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Jordan Demeulenaere <jdemeulenaere@google.com> 2023-10-05 10:40:21 +0200
committer Jordan Demeulenaere <jdemeulenaere@google.com> 2023-10-05 10:53:24 +0200
commita5ac137a93ba655c1c37dbdab6318a841b38a977 (patch)
tree896d9dce62b37021fdac2693b0c75923e2d2fca5 /libs/androidfw/misc.cpp
parent1298fe8599242af246df654f81ca6d3a2d07c0cd (diff)
Fix flicker caused by disabled shared animations
This CL addresses a bug that was caused by ag/24901467: now that shared element animation can be disabled, Element.last{Size,Offset,Alpha} could be set by 2 different scenes at the same time, making this value unpredictable. This CL fixes it by also storing the last size/offset/alpha in a given scene. When defined, this value will be used instead of the last shared value. When undefined, we use the last shared value. Bug: 291053742 Test: Manual, see video at b/291053742#comment3 Change-Id: Iebf2827603ec583fbc99348a24620e3d2026a179
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions