summaryrefslogtreecommitdiffstats
path: root/updater_sample/src/com/example/android/systemupdatersample/util/UpdateEngineErrorCodes.java
diff options
context:
space:
mode:
authorZhomart Mukhamejanov <zhomart@google.com>2018-05-18 19:15:31 +0200
committerZhomart Mukhamejanov <zhomart@google.com>2018-05-24 00:37:43 +0200
commit6f26e71263fcbf634f858fe97d1a6e56a908c64f (patch)
treef646dd503527e3b3b6835c392744bf72296b20de /updater_sample/src/com/example/android/systemupdatersample/util/UpdateEngineErrorCodes.java
parentMerge "updater: Use a bool to indicate if allowed to skip a command." (diff)
downloadandroid_bootable_recovery-6f26e71263fcbf634f858fe97d1a6e56a908c64f.tar
android_bootable_recovery-6f26e71263fcbf634f858fe97d1a6e56a908c64f.tar.gz
android_bootable_recovery-6f26e71263fcbf634f858fe97d1a6e56a908c64f.tar.bz2
android_bootable_recovery-6f26e71263fcbf634f858fe97d1a6e56a908c64f.tar.lz
android_bootable_recovery-6f26e71263fcbf634f858fe97d1a6e56a908c64f.tar.xz
android_bootable_recovery-6f26e71263fcbf634f858fe97d1a6e56a908c64f.tar.zst
android_bootable_recovery-6f26e71263fcbf634f858fe97d1a6e56a908c64f.zip
Diffstat (limited to 'updater_sample/src/com/example/android/systemupdatersample/util/UpdateEngineErrorCodes.java')
-rw-r--r--updater_sample/src/com/example/android/systemupdatersample/util/UpdateEngineErrorCodes.java1
1 files changed, 1 insertions, 0 deletions
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 6d319c5af..f06ddf7fc 100644
--- a/updater_sample/src/com/example/android/systemupdatersample/util/UpdateEngineErrorCodes.java
+++ b/updater_sample/src/com/example/android/systemupdatersample/util/UpdateEngineErrorCodes.java
@@ -34,6 +34,7 @@ public final class UpdateEngineErrorCodes {
* Error code from the update engine. Values must agree with the ones in
* system/update_engine/common/error_code.h.
*/
+ public static final int UNKNOWN = -1;
public static final int UPDATED_BUT_NOT_ACTIVE = 52;
private static final SparseArray<String> CODE_TO_NAME_MAP = new SparseArray<>();