summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Fabián Kozynski <kozynski@google.com> 2023-10-03 12:16:26 -0400
committer Fabián Kozynski <kozynski@google.com> 2023-10-03 12:16:26 -0400
commit9bc94e9c25cb27432071951dced62aeb8cd761a9 (patch)
tree7fb581b7c9047593fd8b711e1926d4558cc4ff69 /api/api_test.go
parentd346a1f1651d0e83cf8216997e67705f74c6e13e (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
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions