summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Michal Brzezinski <brzezinski@google.com> 2024-04-18 11:47:37 +0100
committer Michal Brzezinski <brzezinski@google.com> 2024-04-18 11:58:28 +0100
commit76ca5b9d43e7071d024c9e091c99b06a69a6fc75 (patch)
tree871743bdf4b81a43434ab30acbb97f12fcd147b2 /libs/androidfw/FileStream.cpp
parent1742bc0f97c6cd41163a98a7b40f5cdf94c715fe (diff)
Fixing radius of notification focus overlay
Focus overlay doesn't fully cover corners of notification background it's is peeking from beneath. It's caused by using stroke instead of filling with color - notification background drawable is layer drawable with all shapes being the same but when shape (as Path object) is drawn using stroke, stroke is centered on the path. That means drawable is bigger by stroke width / 2 and when it's fitted inside NotificationBackgroundView it needs to be scaled down. That changes radius shape and radius needs to be decreased to account for that. Fixes: 329250144 Flag: None Test: focus on notification and see notification background corners are not going outside of focus overaly Change-Id: Ib8948bc9559bf2598af63185bcd14f073e39bfa7
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions