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

Commit 84bc5618 authored by Zoltan Szatmary-Ban's avatar Zoltan Szatmary-Ban Committed by Android (Google) Code Review
Browse files

Merge "Show account icons for managed profiles on Settings > Factory Reset" into lmp-mr1-dev

parents ef4d1791 546790c1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -232,7 +232,8 @@ public class MasterClear extends Fragment {
                Drawable icon = null;
                try {
                    if (desc.iconId != 0) {
                        Context authContext = context.createPackageContext(desc.packageName, 0);
                        Context authContext = context.createPackageContextAsUser(desc.packageName,
                                0, userHandle);
                        icon = context.getPackageManager().getUserBadgedIcon(
                                authContext.getDrawable(desc.iconId), userHandle);
                    }