summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2016-01-26 14:21:53 -0800
committerChet Haase <chet@google.com>2016-01-26 14:21:53 -0800
commitf0a7b3b694ee05027a0b667b923bdbf9b664f9d3 (patch)
treeb2dfccdc542cf2561f390752c3126704e78567c2 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent8020313d05f22dc1f8a7a182e6da134db17761ec (diff)
Fix problem with zero-duration AnimatedVectorDrawables
There was an issue with some vector drawables, particularly those with more than one underlying, sequential animators, where the final frame would not be drawn when battery saver mode was enabled (or animators were set to have durations of 0). This resulted in an incorrect fingerprint graphic on the lockscreen, because the animation effectively didn't run at all. The fix is to always invalidate whenever the AnimatedVectorDrawble draws itself. This causes us to constantly invalidate() the view while the animation is running. Issue #26591987 Fingerprint icon displayed as dots when batter saver mode is on Change-Id: I13cbd71fd229db09418c6dcacfec5a13bbb44b2e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions