summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Tiger <tigerhuang@google.com> 2023-10-24 18:50:14 +0800
committer Tiger <tigerhuang@google.com> 2023-10-24 18:56:53 +0800
commitda44ac7f07bc4f2ec2f4be30b012b2b6aade3ba4 (patch)
tree4e586a0bdaf16cece75c09ea968bfa29761c6886 /libs/androidfw/ApkParsing.cpp
parentfb34923b35e29402301b64ddb76bdb089fec8d53 (diff)
Use mAnimationType to decide if the insets of the first frame is visible
Previously, we used the visibility of the source from mInitialInsetsState to decide if the insets of the first frame is visible. However, the visibilities of sources in mInitialInsetsState might have already been overridden by the control target, which might be the state after the animation, not before. This CL uses mAnimationType to decide if the insets of the first frame is visible. Fix: 307488639 Test: atest WindowInsetsAnimationTests WindowInsetsAnimationImeTests Change-Id: I707259d977af1d4430e007bf73a4b3c1b148a4a7
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions