Merge "Update the color of the bubble expanded view pointer arrow to match the background color of the overflow expanded view." into udc-dev

This commit is contained in:
Liran Binyamin
2023-05-05 19:49:52 +00:00
committed by Android (Google) Code Review

View File

@@ -479,7 +479,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;