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

Commit d99936d9 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Avoid NPE if session path hasn't been resolved."

parents 2c8143ba fcad49a4
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -873,6 +873,11 @@ class RollbackManagerServiceImpl extends IRollbackManager.Stub {
            return false;
        }

        if (session.resolvedBaseCodePath == null) {
            Log.e(TAG, "Session code path has not been resolved.");
            return false;
        }

        // Get information about the package to be installed.
        PackageParser.PackageLite newPackage = null;
        try {