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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23057035

Change-Id: Ic98d0471985c0d19d17724e819e1047d49439560
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Liran Binyamin
2023-05-05 19:58:23 +00:00
committed by Automerger Merge Worker

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;