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

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

Merge "Adding a null check for a @NonNull arg"

parents 3fd27516 1567b8bb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -13058,6 +13058,7 @@ public class PackageManagerService extends IPackageManager.Stub
    @Override
    public String[] getUnsuspendablePackagesForUser(String[] packageNames, int userId) {
        Preconditions.checkNotNull("packageNames cannot be null", packageNames);
        mContext.enforceCallingOrSelfPermission(Manifest.permission.SUSPEND_APPS,
                "getUnsuspendablePackagesForUser");
        final int callingUid = Binder.getCallingUid();