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

Commit 4df6caea authored by Jeff Sharkey's avatar Jeff Sharkey Committed by android-build-merger
Browse files

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

am: a80057c3

Change-Id: I1db954072cd00caa70ef527b885a1893668b3eac
parents efae42a2 a80057c3
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 {