diff options
| author | 2021-06-02 01:02:12 +0000 | |
|---|---|---|
| committer | 2021-06-02 01:02:12 +0000 | |
| commit | ab162dd0e946cf66530e3e8471b7588d68a0f2ac (patch) | |
| tree | 467a7052c11e0b31ea332c7aff0f5b7147426ff5 | |
| parent | 909abd8a49212908bea8f10d9167196de234c81e (diff) | |
| parent | f6267d46017b324076047e2459531fd792090b67 (diff) | |
Merge "Fix the inconsistent background color between the tooltip and arrow." into sc-dev
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/BaseTooltipView.java | 2 |
1 files changed, 2 insertions, 0 deletions
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 308585491aef..61fc7edcd9a0 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 @@ class BaseTooltipView extends FrameLayout { 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) { |