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} */
|
/** {@hide} */
|
||||||
public PackageInstaller(IPackageInstaller installer,
|
public PackageInstaller(IPackageInstaller installer,
|
||||||
String installerPackageName, String installerAttributionTag, int userId) {
|
String installerPackageName, String installerAttributionTag, int userId) {
|
||||||
|
Objects.requireNonNull(installer, "installer cannot be null");
|
||||||
mInstaller = installer;
|
mInstaller = installer;
|
||||||
mInstallerPackageName = installerPackageName;
|
mInstallerPackageName = installerPackageName;
|
||||||
mAttributionTag = installerAttributionTag;
|
mAttributionTag = installerAttributionTag;
|
||||||
|
|||||||
Reference in New Issue
Block a user