diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleOverflow.kt b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleOverflow.kt index 0c3a6b2dbd842..5161092fb96cb 100644 --- a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleOverflow.kt +++ b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleOverflow.kt @@ -95,9 +95,8 @@ class BubbleOverflow( // Update bitmap val fg = InsetDrawable(overflowBtn?.drawable, overflowIconInset) - bitmap = iconFactory.createBadgedIconBitmap(AdaptiveIconDrawable( - ColorDrawable(colorAccent), fg), - null /* user */, true /* shrinkNonAdaptiveIcons */).icon + bitmap = iconFactory.createBadgedIconBitmap( + AdaptiveIconDrawable(ColorDrawable(colorAccent), fg)).icon // Update dot path dotPath = PathParser.createPathFromPathData( diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleViewInfoTask.java b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleViewInfoTask.java index 932f879caef81..91aff3e8a9e0d 100644 --- a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleViewInfoTask.java +++ b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleViewInfoTask.java @@ -189,9 +189,7 @@ public class BubbleViewInfoTask extends AsyncTask