summaryrefslogtreecommitdiff
path: root/libs/androidfw/Util.cpp
diff options
context:
space:
mode:
author Lucas Dupin <dupin@google.com> 2022-03-29 16:24:13 -0700
committer Lucas Dupin <dupin@google.com> 2022-03-29 16:24:13 -0700
commit41ea86f6c837eadd44d2fbbe8ca03e961c28537c (patch)
treeb25ec8d00ef76bbec2d2b8d8520b810add5bb571 /libs/androidfw/Util.cpp
parent74807869b8683085778b456d477faf3e37be0b13 (diff)
Fix issue where line alpha would be overridden
A Paint doesn't have separate components for color and alpha, so when setting a color, the alpha will be lost. We need to take that into account when updating the tint. Test: manual Test: atest SquigglyProgressTest Fixes: 227388771 Change-Id: Ibb85305a01c552c1476e502d23614de097f4680c
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions