diff options
author | George Mount <mount@google.com> | 2021-03-16 20:26:50 +0000 |
---|---|---|
committer | George Mount <mount@google.com> | 2021-03-16 20:42:17 +0000 |
commit | a479a3268f5fd63d1dc414b33545473aef3c75a1 (patch) | |
tree | b064437531ff9d9d9ac016956448cdcfd32a97b0 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | e3e90bd0c4f9523813d6726a676e0eea7fd3a101 (diff) |
Fix bug in EdgeEffect with glow
Fixes: 182499389
With the glow edge effect, using the drag gesture to reduce
the edge glow could cause the glow to flip and repeat. This
was caused by the update() modifying the determined distance
during the pull when it wasn't animating.
We also force the alpha to be 0 if the pull distance is 0.
Test: manual testing
Change-Id: Iacc1df0fcb92e3380523187badf7ea62d7d19d2f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions