summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Fabián Kozynski <kozynski@google.com> 2023-10-03 12:16:26 -0400
committer Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2023-10-17 02:42:03 +0000
commit87b2a6c85b7fbb528db20b884b41a56ad394bfc3 (patch)
tree9068efd2fca7ab95761a6e353341dd84e91aeb75 /libs/androidfw/ObbFile.cpp
parentfa42dfc53a5bda461e2260a0c6e3bb5cdda03bba (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 (cherry picked from commit 9bc94e9c25cb27432071951dced62aeb8cd761a9) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:77bb4deb7487bf0737b3465b2cdb5a3553c0d10a) Merged-In: Iebda8c9acfbf75a49522887687702b2e8c0158de Change-Id: Iebda8c9acfbf75a49522887687702b2e8c0158de
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions