summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author James O'Leary <jamesoleary@google.com> 2022-05-05 16:45:11 +0000
committer James O'Leary <jamesoleary@google.com> 2022-05-09 14:37:16 +0000
commit6ac128a25b09a69c6ca2d8923196a47f95b19d6c (patch)
tree0b8cf5c5af28aedc06c73e02a44d5717cc98a7e8
parenta3f6dae96f6fab0850b8f5249ad4db1bb9e44281 (diff)
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
-rw-r--r--libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BadgedImageView.java2
1 files changed, 1 insertions, 1 deletions
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;