diff options
author | Sen Jiang <senj@google.com> | 2018-03-27 23:22:43 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-03-27 23:22:43 +0000 |
commit | 832c9f574ccb8829d2a74431365c68d84e623f5f (patch) | |
tree | 669bb247d080dbd9cbccc60a3f5e794699612713 /common/error_code_utils.cc | |
parent | a2ebc7d45aa091637b2dfba96b382ea1be1ce8f8 (diff) | |
parent | 89e24c11b406fe048382bdf1c89334e10417b899 (diff) |
Fix error code for no update.
am: 89e24c11b4
Change-Id: Ib768fc40ba50a9c97bb16d26c2e83f814a658c6f
Diffstat (limited to 'common/error_code_utils.cc')
-rw-r--r-- | common/error_code_utils.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/error_code_utils.cc b/common/error_code_utils.cc index 983d004d..5efc120e 100644 --- a/common/error_code_utils.cc +++ b/common/error_code_utils.cc @@ -146,6 +146,8 @@ string ErrorCodeToString(ErrorCode code) { return "ErrorCode::kNonCriticalUpdateInOOBE"; case ErrorCode::kUpdatedButNotActive: return "ErrorCode::kUpdatedButNotActive"; + case ErrorCode::kNoUpdate: + return "ErrorCode::kNoUpdate"; // Don't add a default case to let the compiler warn about newly added // error codes which should be added here. } |