summaryrefslogtreecommitdiff
path: root/common/error_code_utils.cc
diff options
context:
space:
mode:
authorKelvin Zhang <zhangkelvin@google.com>2020-10-26 12:27:53 -0400
committerKelvin Zhang <zhangkelvin@google.com>2020-10-30 10:46:30 -0400
commit8b1e0dcbca7bbcae0f84124f2898e4f3b7dab895 (patch)
tree02ee872513986136bb453e36c703525a19fe387b /common/error_code_utils.cc
parent9d87d6d80b82872f8f0d15279d74e64105f1a6f2 (diff)
Mount all partitions before running postinstall
For Virtual AB Compression, we need to mount snapshotted partitions manually. Test: treehugger Change-Id: I15af8375e393ce2539d2075b467e8dbe94bec247
Diffstat (limited to 'common/error_code_utils.cc')
-rw-r--r--common/error_code_utils.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/error_code_utils.cc b/common/error_code_utils.cc
index cda4c7ec..421544af 100644
--- a/common/error_code_utils.cc
+++ b/common/error_code_utils.cc
@@ -173,6 +173,8 @@ string ErrorCodeToString(ErrorCode code) {
return "ErrorCode::kDeviceCorrupted";
case ErrorCode::kPackageExcludedFromUpdate:
return "ErrorCode::kPackageExcludedFromUpdate";
+ case ErrorCode::kPostInstallMountError:
+ return "ErrorCode::kPostInstallMountError";
// Don't add a default case to let the compiler warn about newly added
// error codes which should be added here.
}