Fixing wriong color on Setting's Profile Selector
Fixes: 283057775 Flag: N/A Test: Manual Change-Id: I8e79041634884c71b10a820083b42e971cff7330
This commit is contained in:
@@ -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