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
This commit is contained in:
Liran Binyamin
2023-05-05 11:39:31 -04:00
parent c51e252589
commit 9a0b92c48a

View File

@@ -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;