summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Mady Mellor <madym@google.com> 2022-12-07 12:56:50 -0800
committer Mady Mellor <madym@google.com> 2022-12-07 15:30:28 -0800
commit0c1dd96b1f08c9c27d3edca10865820b3e6968fb (patch)
treeac2a1fbf67c95e118274db320747e9f1b579fe6e /libs/androidfw/ApkParsing.cpp
parent5b7da895e28ce610243d80a87670bc0ab1c734f5 (diff)
Fix drawing the ring around adaptive app icons
It seems like when you set the bounds on an adaptive icon, it does not draw the icon in the center of those bounds. Fix by translating the drawable before setting the bounds. Also removes drawing black first as this seems to leave a slight artifact around the edges of the circle otherwise. Bug: 260636233 Test: manual - mark a bubbleable notification as an important person - bubble it => observe the app icon badge is centered in the highlight ring Change-Id: I04279a3c51badd26a5141a8edf77f05472cb9718
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions