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

Commit a80057c3 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Give DPM callers unsafe labels." into pi-dev

parents 9a6bc76e 0472a26d
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -7833,8 +7833,7 @@ public class DevicePolicyManagerService extends BaseIDevicePolicyManager {
            ApplicationInfo appInfo = userContext.getApplicationInfo();
            CharSequence result = null;
            if (appInfo != null) {
                PackageManager pm = userContext.getPackageManager();
                result = pm.getApplicationLabel(appInfo);
                result = appInfo.loadUnsafeLabel(userContext.getPackageManager());
            }
            return result != null ? result.toString() : null;
        } finally {