am 591b371f: am ccbb02f9: am b16cd62c: am c0a2254e: Merge "Clean up properly if outcall for doRestoreFinished() fails" into mnc-dev
* commit '591b371fbb07cb4db5cd556aa6b52936557e8382': Clean up properly if outcall for doRestoreFinished() fails
This commit is contained in:
@@ -7848,8 +7848,12 @@ if (MORE_DEBUG) Slog.v(TAG, " + got " + nRead + "; now wanting " + (size - soF
|
||||
// If we get this far, the callback or timeout will schedule the
|
||||
// next restore state, so we're done
|
||||
} catch (Exception e) {
|
||||
Slog.e(TAG, "Unable to finalize restore of " + mCurrentPackage.packageName);
|
||||
executeNextState(UnifiedRestoreState.FINAL);
|
||||
final String packageName = mCurrentPackage.packageName;
|
||||
Slog.e(TAG, "Unable to finalize restore of " + packageName);
|
||||
EventLog.writeEvent(EventLogTags.RESTORE_AGENT_FAILURE,
|
||||
packageName, e.toString());
|
||||
keyValueAgentErrorCleanup();
|
||||
executeNextState(UnifiedRestoreState.RUNNING_QUEUE);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user