From 6ac128a25b09a69c6ca2d8923196a47f95b19d6c Mon Sep 17 00:00:00 2001 From: James O'Leary Date: Thu, 5 May 2022 16:45:11 +0000 Subject: Separate color into app color and dot color Design intends for predicted app disc to use the app color, and the dot to use tertiary T90/shade100. Both currently use `color`. Separating into two separate colors lets use define the two separate colors requested by design. Bug: 213314628 Test: Manual inspection at runtime Change-Id: I7f39b049896a3d5c4617beab67acd10777adae0a --- .../Shell/src/com/android/wm/shell/bubbles/BadgedImageView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BadgedImageView.java b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BadgedImageView.java index 3876533a922e..d62dd088738d 100644 --- a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BadgedImageView.java +++ b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BadgedImageView.java @@ -182,7 +182,7 @@ public class BadgedImageView extends ConstraintLayout { getDrawingRect(mTempBounds); - mDrawParams.color = mDotColor; + mDrawParams.dotColor = mDotColor; mDrawParams.iconBounds = mTempBounds; mDrawParams.leftAlign = mOnLeft; mDrawParams.scale = mDotScale; -- cgit v1.2.3-59-g8ed1b