Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dab4b8bc authored by Anna Zhuravleva's avatar Anna Zhuravleva Committed by Android (Google) Code Review
Browse files

Merge "Set accessibility string for profile badge" into main

parents f41c8a2b ff1746c1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -5637,6 +5637,10 @@ public class Notification implements Parcelable
                    contentView.setDrawableTint(R.id.profile_badge, false,
                            getPrimaryTextColor(p), PorterDuff.Mode.SRC_ATOP);
                }
                contentView.setContentDescription(
                        R.id.profile_badge,
                        mContext.getSystemService(UserManager.class)
                                .getProfileAccessibilityString(mContext.getUserId()));
            }
        }