OSDN Git Service

Better merge fix for empty state signal drawable
authorEvan Laird <evanlaird@google.com>
Thu, 22 Jun 2017 18:01:31 +0000 (14:01 -0400)
committerEvan Laird <evanlaird@google.com>
Thu, 22 Jun 2017 18:06:50 +0000 (14:06 -0400)
commit55dde92782516da6e98b173701d20934ea3dd3c7
tree2c48dc86e353ad8f12013ca45aeb7de68c80188c
parentf5d862877936c3a1f17f7f1e84fcd3e4ab0b88a4
Better merge fix for empty state signal drawable

The cutout for drawing STATE_EMPTY picked up a fudge factor in the merge
due to the rounded edges changing the size of the triangle. This change
parameterizes the drawing of the cutout based on the placement of the
rounded edges.

Test: visual
Bug: 62905681
Change-Id: Iba2bc0aa240f6bdfb285c2c6535b656bcacbd579
packages/SystemUI/src/com/android/systemui/statusbar/phone/SignalDrawable.java