Change-Id: If816a3cafa42f92ec32cd77ba3a3a902201d9ca4
This commit is contained in:
Hyunyoung Song committed 2017-03-28 11:13:15 -07:00
1 parent f5a6ee0bfb
commit dcd8b5c272
1 file changed
+3 -1
@@ -220,7 +220,9 @@ public class IconNormalizer {
@Nullable Path path, @Nullable boolean[] outMaskShape) {
if (Utilities.isAtLeastO() && d instanceof AdaptiveIconDrawable &&
mAdaptiveIconScale != SCALE_NOT_INITIALIZED) {
outBounds.set(mBounds);
if (outBounds != null) {
outBounds.set(mBounds);
}
return mAdaptiveIconScale;
}
int width = d.getIntrinsicWidth();