Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f5a53658 authored by scypher's avatar scypher
Browse files

Added new update engine error codes from

/android/system/update_engine/common/error_code.h

Test: Exposed new constant and manually added the change to
api/system-current.txt due to b/68874686

Bug: 68380039
Change-Id: I01a8befe07d37dfa74d3544b80bde2c2cc48acdb
parent a7d81598
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -34725,6 +34725,7 @@ package android.os {
    field public static final int PAYLOAD_SIZE_MISMATCH_ERROR = 11; // 0xb
    field public static final int POST_INSTALL_RUNNER_ERROR = 5; // 0x5
    field public static final int SUCCESS = 0; // 0x0
    field public static final int UPDATED_BUT_NOT_ACTIVE = 52; // 0x34
  }
  public static final class UpdateEngine.UpdateStatusConstants {
+1 −0
Original line number Diff line number Diff line
@@ -67,6 +67,7 @@ public class UpdateEngine {
        public static final int PAYLOAD_HASH_MISMATCH_ERROR = 10;
        public static final int PAYLOAD_SIZE_MISMATCH_ERROR = 11;
        public static final int DOWNLOAD_PAYLOAD_VERIFICATION_ERROR = 12;
        public static final int UPDATED_BUT_NOT_ACTIVE = 52;
    }

    /**