summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2020-03-24 11:35:22 -0700
committerchaviw <chaviw@google.com>2020-04-03 14:34:15 -0700
commit9177c77262fb190659ce0b031d7eb3696196d067 (patch)
tree2d3eb2a5e4f4a58ac91fb44e9c83a06572df47d2 /tools/aapt2/diff/Diff.cpp
parent17c3f421d4c4d9c1d187d37309c430bbfded2aef (diff)
Ignore specified animation types when checking isAnimating
The check isAnimating is used in a lot of places to determine if the apps can hide, show, removed, etc. However, we don't always want to check if any animation is running, just if a specific animation. This change adds a new method that allows the caller to check if isAnmating but ignore certain animationTypes. This is specifically needed for ScreenRotationAnimation refactor to ensure we can ignore screen rotation animation when checking isAnimating. Otherwise, screen rotation will block hiding closing apps if rotation occurs at the same time. Test: WindowContainerTests Bug: 152333373 Bug: 149490428 Change-Id: I922e3a5698f5db4dcc819a59ebfde2cd0301d7d2
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions