commit | ab162dd0e946cf66530e3e8471b7588d68a0f2ac | [log] [tgz] |
---|---|---|
author | PETER LIANG <peterliang@google.com> | Wed Jun 02 01:02:12 2021 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Wed Jun 02 01:02:12 2021 +0000 |
tree | 467a7052c11e0b31ea332c7aff0f5b7147426ff5 | |
parent | 909abd8a49212908bea8f10d9167196de234c81e [diff] | |
parent | f6267d46017b324076047e2459531fd792090b67 [diff] |
Merge "Fix the inconsistent background color between the tooltip and arrow." into sc-dev
diff --git a/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/BaseTooltipView.java b/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/BaseTooltipView.java index 3085854..61fc7ed 100644 --- a/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/BaseTooltipView.java +++ b/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/BaseTooltipView.java
@@ -214,6 +214,8 @@ final GradientDrawable gradientDrawable = (GradientDrawable) mTextView.getBackground(); gradientDrawable.setCornerRadius(mTextViewCornerRadius); + gradientDrawable.setColor(Utils.getColorAttrDefaultColor(getContext(), + com.android.internal.R.attr.colorAccentPrimary)); } private void updateArrowWith(Rect anchorViewLocation) {