Merge "Fixing wriong color on Setting's Profile Selector" into main

This commit is contained in:
Marcelo Arteiro
2023-11-21 13:31:50 +00:00
committed by Android (Google) Code Review

View File

@@ -59,7 +59,7 @@ public class UserAdapter extends BaseAdapter {
mUserManager = um;
UserInfo userInfo = um.getUserInfo(mUserHandle.getIdentifier());
int tintColor = Utils.getColorAttrDefaultColor(context,
com.android.internal.R.attr.materialColorPrimaryContainer);
com.android.internal.R.attr.materialColorPrimary);
if (userInfo.isManagedProfile()) {
mIcon = context.getPackageManager().getUserBadgeForDensityNoBackground(
userHandle, /* density= */ 0);