Change mask path to only use cubicTo notation so that isConvex is always true.
Bug: 37100106 On angler, executed: Test: $ adb shell am instrument -e class 'android.graphics.drawable.AdaptiveIconDrawableTest' -w 'com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner' android.graphics.drawable.AdaptiveIconDrawableTest:..... Time: 1.289 OK (5 tests) Change-Id: I1f989c0ccc4eafc25bfd84e495ae770eefa50c01
This commit is contained in:
@@ -2794,7 +2794,7 @@
|
||||
<string name="config_defaultCellBroadcastReceiverPkg" translatable="false">com.android.cellbroadcastreceiver</string>
|
||||
|
||||
<!-- Specifies the path that is used by AdaptiveIconDrawable class to crop launcher icons. -->
|
||||
<string name="config_icon_mask" translatable="false">"M50,0L92,0 A8,8,0,0 1 100,8 L100,92 A8,8,0,0 1 92,100 L8,100 A8,8,0,0 1 0,92 L 0,8 A8,8,0,0 1 8,0z"</string>
|
||||
<string name="config_icon_mask" translatable="false">"M50,0L92,0C96.42,0 100,4.58 100 8L100,92C100, 96.42 96.42 100 92 100L8 100C4.58, 100 0 96.42 0 92L0 8 C 0 4.42 4.42 0 8 0L50 0Z"</string>
|
||||
|
||||
<!-- The component name, flattened to a string, for the default accessibility service to be
|
||||
enabled by the accessibility shortcut. This service must be trusted, as it can be activated
|
||||
|
||||
Reference in New Issue
Block a user