summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Fabián Kozynski <kozynski@google.com> 2023-10-03 12:16:26 -0400
committer Fabian Kozynski <kozynski@google.com> 2023-10-11 14:38:20 +0000
commit77bb4deb7487bf0737b3465b2cdb5a3553c0d10a (patch)
treeefac46b975fa12ef265715698dc5a960ec29dced /libs/hwui/FrameInfoVisualizer.cpp
parent60bda9ffcf9e1415c33b3244efede7c08d59e8c0 (diff)
Re-write conditional checks for animation
When they were extracted into a separate method and split by type of check, we lost some behavior that was guaranteed to be prevented by the short-circuiting. This CL makes sure that the checks do not depend on short circuiting by removing side effect methods from the checks. If the checks pass (we can animate) we do one last check that will try to enable fakeDrag. Test: manual Fixes: 297488363 Change-Id: Iebda8c9acfbf75a49522887687702b2e8c0158de Merged-In: Iebda8c9acfbf75a49522887687702b2e8c0158de (cherry picked from commit 9bc94e9c25cb27432071951dced62aeb8cd761a9)
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions