From 97b34a941db2fda951bc6bd0524e8102e9f2bb58 Mon Sep 17 00:00:00 2001 From: Mady Mellor Date: Mon, 7 Aug 2023 11:22:50 -0700 Subject: [PATCH] Update bubbles scrim to be .32f as per visD Test: manual - open a bubble in dark & light theme and observe the scrim opacity is lighter Bug: 294396107 Change-Id: I06384e90cde8b5ed6b2a4ca28095b8af4a196b69 --- .../Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java index f58b121ae04fa..4d757b2cea77e 100644 --- a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java +++ b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java @@ -137,7 +137,7 @@ public class BubbleStackView extends FrameLayout private static final int EXPANDED_VIEW_ALPHA_ANIMATION_DURATION = 150; - private static final float SCRIM_ALPHA = 0.6f; + private static final float SCRIM_ALPHA = 0.32f; /** Minimum alpha value for scrim when alpha is being changed via drag */ private static final float MIN_SCRIM_ALPHA_FOR_DRAG = 0.2f;