From ebee98df6fd152a66e200fdd02b1ed37f547c494 Mon Sep 17 00:00:00 2001 From: Zhomart Mukhamejanov Date: Wed, 13 Jun 2018 16:18:38 -0700 Subject: updater_sample: add metadata mismatch error code Update util/UpdateEngineErrorCodes.java Test: n/a Change-Id: I7250b1198b1d5ff0e38b7d4effe61eebd114a44f Signed-off-by: Zhomart Mukhamejanov --- .../example/android/systemupdatersample/util/UpdateEngineErrorCodes.java | 1 + 1 file changed, 1 insertion(+) diff --git a/updater_sample/src/com/example/android/systemupdatersample/util/UpdateEngineErrorCodes.java b/updater_sample/src/com/example/android/systemupdatersample/util/UpdateEngineErrorCodes.java index 7d55ff8fc..13df88b18 100644 --- a/updater_sample/src/com/example/android/systemupdatersample/util/UpdateEngineErrorCodes.java +++ b/updater_sample/src/com/example/android/systemupdatersample/util/UpdateEngineErrorCodes.java @@ -54,6 +54,7 @@ public final class UpdateEngineErrorCodes { CODE_TO_NAME_MAP.put(12, "DOWNLOAD_PAYLOAD_VERIFICATION_ERROR"); CODE_TO_NAME_MAP.put(15, "NEW_ROOTFS_VERIFICATION_ERROR"); CODE_TO_NAME_MAP.put(20, "DOWNLOAD_STATE_INITIALIZATION_ERROR"); + CODE_TO_NAME_MAP.put(26, "DOWNLOAD_METADATA_SIGNATURE_MISMATCH"); CODE_TO_NAME_MAP.put(48, "USER_CANCELLED"); CODE_TO_NAME_MAP.put(52, "UPDATED_BUT_NOT_ACTIVE"); } -- cgit v1.2.3