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

Commit 170ea816 authored by Alex Buynytskyy's avatar Alex Buynytskyy
Browse files

Require installer binder to be not null.

Bug: 282026321
Test: atest PackageInstallerTest
Change-Id: I545ef908e98c5191d007e20b5f6567f5f33fce7c
Merged-In: I545ef908e98c5191d007e20b5f6567f5f33fce7c
parent 3238a42f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;