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

Commit 17979a4d authored by Kholoud Mohamed's avatar Kholoud Mohamed Committed by Android (Google) Code Review
Browse files

Merge "Change the managed profile icon for profile selector"

parents 01288373 73ba56ff
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -55,8 +55,8 @@ public class UserAdapter implements SpinnerAdapter, ListAdapter {
            Drawable icon;
            if (userInfo.isManagedProfile()) {
                mName = context.getString(R.string.managed_user_title);
                icon = context.getDrawable(
                        com.android.internal.R.drawable.ic_corp_badge);
                icon = context.getPackageManager().getUserBadgeForDensityNoBackground(
                        userHandle, /* density= */ 0);
            } else {
                mName = userInfo.name;
                final int userId = userInfo.id;