Fix for Quicktep FC am: 3b7051dd07

Original change: https://android-review.googlesource.com/c/platform/frameworks/libs/systemui/+/1902530

Change-Id: Id5bc2eca540bc13ab44c52cda5bf2e637614ae59
diff --git a/iconloaderlib/src/com/android/launcher3/icons/DotRenderer.java b/iconloaderlib/src/com/android/launcher3/icons/DotRenderer.java
index 97a0fd3..361a7d9 100644
--- a/iconloaderlib/src/com/android/launcher3/icons/DotRenderer.java
+++ b/iconloaderlib/src/com/android/launcher3/icons/DotRenderer.java
@@ -50,8 +50,12 @@
     private final float[] mRightDotPosition;
     private final float[] mLeftDotPosition;
 
+    private static final int MIN_DOT_SIZE = 1;
     public DotRenderer(int iconSizePx, Path iconShapePath, int pathSize) {
         int size = Math.round(SIZE_PERCENTAGE * iconSizePx);
+        if (size <= 0) {
+            size = MIN_DOT_SIZE;
+        }
         ShadowGenerator.Builder builder = new ShadowGenerator.Builder(Color.TRANSPARENT);
         builder.ambientShadowAlpha = 88;
         mBackgroundWithShadow = builder.setupBlurForSize(size).createPill(size, size);