Merge "Require installer binder to be not null." into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
584fe4060b
@@ -616,6 +616,7 @@ public class PackageInstaller {
|
||||
/** {@hide} */
|
||||
public PackageInstaller(IPackageInstaller installer,
|
||||
String installerPackageName, String installerAttributionTag, int userId) {
|
||||
Objects.requireNonNull(installer, "installer cannot be null");
|
||||
mInstaller = installer;
|
||||
mInstallerPackageName = installerPackageName;
|
||||
mAttributionTag = installerAttributionTag;
|
||||
|
||||
Reference in New Issue
Block a user