From 9a0b92c48a45c972db3823b61829f62655375e32 Mon Sep 17 00:00:00 2001 From: Liran Binyamin Date: Fri, 5 May 2023 11:39:31 -0400 Subject: [PATCH] Update the color of the bubble expanded view pointer arrow to match the background color of the overflow expanded view. Fixes: 280868378 Test: Tested on a physical device Change-Id: Iafbe48ffbd9c6ddbeaa0a27bac0f01f7d289464b --- .../src/com/android/wm/shell/bubbles/BubbleExpandedView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleExpandedView.java b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleExpandedView.java index 6c482c831152d..6d79dd5125510 100644 --- a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleExpandedView.java +++ b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleExpandedView.java @@ -478,7 +478,7 @@ public class BubbleExpandedView extends LinearLayout { void applyThemeAttrs() { final TypedArray ta = mContext.obtainStyledAttributes(new int[]{ android.R.attr.dialogCornerRadius, - android.R.attr.colorBackgroundFloating}); + com.android.internal.R.attr.materialColorSurfaceBright}); boolean supportsRoundedCorners = ScreenDecorationsUtils.supportsRoundedCornersOnWindows( mContext.getResources()); mCornerRadius = supportsRoundedCorners ? ta.getDimensionPixelSize(0, 0) : 0;