Merge "Correct Preconditions.checkNotNull usage."

This commit is contained in:
TreeHugger Robot
2020-01-03 08:54:25 +00:00
committed by Android (Google) Code Review

View File

@@ -12872,7 +12872,7 @@ public class PackageManagerService extends IPackageManager.Stub
@Override
public String[] getUnsuspendablePackagesForUser(String[] packageNames, int userId) {
Preconditions.checkNotNull("packageNames cannot be null", packageNames);
Preconditions.checkNotNull(packageNames, "packageNames cannot be null");
mContext.enforceCallingOrSelfPermission(Manifest.permission.SUSPEND_APPS,
"getUnsuspendablePackagesForUser");
final int callingUid = Binder.getCallingUid();