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

Commit c70fc4a3 authored by Christopher Tate's avatar Christopher Tate Committed by Android (Google) Code Review
Browse files

Merge "Don't crash if a system restore fails before constructing the PMBA" into lmp-mr1-dev

parents f1702487 a7e47d5d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7664,7 +7664,7 @@ if (MORE_DEBUG) Slog.v(TAG, " + got " + nRead + "; now wanting " + (size - soF

            // If this was a full-system restore, record the ancestral
            // dataset information
            if (mIsSystemRestore) {
            if (mIsSystemRestore && mPmAgent != null) {
                mAncestralPackages = mPmAgent.getRestoredPackages();
                mAncestralToken = mToken;
                writeRestoreTokens();