Dump historical rollbacks for debugging purpose (3/n)
Bug: 172644981 Test: m Change-Id: I6010de4d9273805a43df8b0e8f7798ea6bfc3f89
This commit is contained in:
@@ -1242,6 +1242,18 @@ class RollbackManagerServiceImpl extends IRollbackManager.Stub implements Rollba
|
||||
rollback.dump(ipw);
|
||||
}
|
||||
ipw.println();
|
||||
|
||||
List<Rollback> historicalRollbacks = mRollbackStore.loadHistorialRollbacks();
|
||||
if (!historicalRollbacks.isEmpty()) {
|
||||
ipw.println("Historical rollbacks:");
|
||||
ipw.increaseIndent();
|
||||
for (Rollback rollback : historicalRollbacks) {
|
||||
rollback.dump(ipw);
|
||||
}
|
||||
ipw.decreaseIndent();
|
||||
ipw.println();
|
||||
}
|
||||
|
||||
PackageWatchdog.getInstance(mContext).dump(ipw);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user