Merge "Fixing wriong color on Setting's Profile Selector" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
a19a7e2cc9
@@ -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);
|
||||
|
Reference in New Issue
Block a user