summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2018-02-09 14:36:10 -0800
committerchaviw <chaviw@google.com>2018-02-09 15:23:45 -0800
commit4d133725d4b263018555cbba99bb3a2524508707 (patch)
treee2f5dd0577bad2eeeca7ceddadc72416c7f61c6d /tools/aapt2/java/JavaClassGenerator.cpp
parent1c9e8b2bfaa7d24b1bbcd9059a5d6480bfb75a55 (diff)
Prevent setting negative alpha for dim animations.
When apply in the dim animation is called, the currentPlayTime value can be greater than the total duration. If that's the case, the alpha value would be set to a negative value. Instead, if the currentPlayTime is greater than duration, just set the final alpha value. Change-Id: I77b7c512cc8832c2a31e20d49c14550da2cff7cd Fixes: 73152600 Test: No more flashing dim
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions