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

Commit e6737740 authored by Patrick Baumann's avatar Patrick Baumann Committed by Android (Google) Code Review
Browse files

Merge "Add IllegalStateException with packageName on null info" into sc-dev

parents 852a4a7b 92a23d32
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1110,6 +1110,10 @@ public final class LoadedApk {
                        mPackageName,
                        PackageManager.MATCH_DEBUG_TRIAGED_MISSING,
                        UserHandle.myUserId());
        if (pi == null) {
            throw new IllegalStateException("Unable to get package info for "
                    + mPackageName + "; is package not installed?");
        }
        /*
         * Two possible indications that this package could be
         * sharing its virtual machine with other packages: