summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Nick Chameyev <nickchameyev@google.com> 2022-11-17 12:32:42 +0000
committer Nick Chameyev <nickchameyev@google.com> 2022-11-17 12:32:42 +0000
commit982c56f6613e5a5058550141296f7a8310dbf960 (patch)
tree5509a22c52a408a6625d671b6d8adc27c4a91301 /libs/androidfw/StringPool.cpp
parentc3de18645f7ec6081c903ef8533c17e6e20d6b94 (diff)
[Unfold animation] Get animation scale from content provider
ValueAnimator#areAnimationsEnabled() method does not reflect the latest state of the animation scale at the time when content provider emitted an update. It led to a bug after disabling and enabling animations: we added the unfold overlay in the UnfoldLightRevealOverlayAnimation (as animations enabled) but didn't remove it because the transition progress provider never reported animation start, progress and finish events. Changed to use the content provider to get the latest state of the animation scale. Bug: 256072006 Test: manual fold/unfolds after enabling/disabling talkback Test: com.android.systemui.unfold.util.ScaleAwareUnfoldProgressProviderTest Change-Id: If5d982791b9f8103ecfd8db44e24d2486560d4f5
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions