diff --git a/src/com/android/launcher3/graphics/IconNormalizer.java b/src/com/android/launcher3/graphics/IconNormalizer.java index 069895a38a..ce2bca649b 100644 --- a/src/com/android/launcher3/graphics/IconNormalizer.java +++ b/src/com/android/launcher3/graphics/IconNormalizer.java @@ -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();