Merge "Update the colors for bubbles settings based on new spec" into udc-dev

This commit is contained in:
Mady Mellor
2023-06-09 15:33:30 +00:00
committed by Android (Google) Code Review
2 changed files with 3 additions and 3 deletions

View File

@@ -168,7 +168,7 @@ public class BubblePreference extends Preference implements View.OnClickListener
mView.setSelected(selected);
int colorResId = selected
? com.android.internal.R.attr.materialColorOnPrimaryContainer
? com.android.internal.R.attr.materialColorOnSecondaryContainer
: com.android.internal.R.attr.materialColorOnSurfaceVariant;
ColorStateList stateList = Utils.getColorAttr(context, colorResId);
mImageView.setImageTintList(stateList);