am 4bdf266c: am c70fc4a3: Merge "Don\'t crash if a system restore fails before constructing the PMBA" into lmp-mr1-dev
* commit '4bdf266c03d92448ae65ec31355588d17d179a98': Don't crash if a system restore fails before constructing the PMBA
This commit is contained in:
@@ -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
|
// If this was a full-system restore, record the ancestral
|
||||||
// dataset information
|
// dataset information
|
||||||
if (mIsSystemRestore) {
|
if (mIsSystemRestore && mPmAgent != null) {
|
||||||
mAncestralPackages = mPmAgent.getRestoredPackages();
|
mAncestralPackages = mPmAgent.getRestoredPackages();
|
||||||
mAncestralToken = mToken;
|
mAncestralToken = mToken;
|
||||||
writeRestoreTokens();
|
writeRestoreTokens();
|
||||||
|
|||||||
Reference in New Issue
Block a user