Merge "Add compression to dump" am: 2277c27fcc

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1576926

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie49910af4cd7aa725f4e0a7e4ef9b2a757f10a60
This commit is contained in:
Yifan Hong 2021-02-08 23:30:30 +00:00 committed by Automerger Merge Worker
commit 083023734c

View file

@ -3102,7 +3102,8 @@ bool SnapshotManager::Dump(std::ostream& os) {
std::stringstream ss;
ss << "Update state: " << ReadUpdateState(file.get()) << std::endl;
ss << "Compression: " << ReadSnapshotUpdateStatus(file.get()).compression_enabled()
<< std::endl;
ss << "Current slot: " << device_->GetSlotSuffix() << std::endl;
ss << "Boot indicator: booting from " << GetCurrentSlot() << " slot" << std::endl;
ss << "Rollback indicator: "