OSDN Git Service

Add result code for eUICC card not found.
authorHolly Jiuyu Sun <jiuyu@google.com>
Thu, 22 Feb 2018 22:58:44 +0000 (14:58 -0800)
committerHolly Jiuyu Sun <jiuyu@google.com>
Thu, 1 Mar 2018 21:00:30 +0000 (13:00 -0800)
Bug: 38206971
Test: test on phone
Merged-In: Ia783fe68389d950b664ad312d98c7e3aa200b471
Change-Id: Ia783fe68389d950b664ad312d98c7e3aa200b471

api/system-current.txt
telephony/java/android/telephony/euicc/EuiccCardManager.java

index 5a8f6e0..00dea09 100644 (file)
@@ -4504,6 +4504,7 @@ package android.telephony.euicc {
     field public static final int RESET_OPTION_DELETE_FIELD_LOADED_TEST_PROFILES = 2; // 0x2
     field public static final int RESET_OPTION_DELETE_OPERATIONAL_PROFILES = 1; // 0x1
     field public static final int RESET_OPTION_RESET_DEFAULT_SMDP_ADDRESS = 4; // 0x4
+    field public static final int RESULT_EUICC_NOT_FOUND = -2; // 0xfffffffe
     field public static final int RESULT_OK = 0; // 0x0
     field public static final int RESULT_UNKNOWN_ERROR = -1; // 0xffffffff
   }
index 6be7725..cc0d1c6 100644 (file)
@@ -115,6 +115,9 @@ public class EuiccCardManager {
     /** Result code of an unknown error. */
     public static final int RESULT_UNKNOWN_ERROR = -1;
 
+    /** Result code when the eUICC card with the given card Id is not found. */
+    public static final int RESULT_EUICC_NOT_FOUND = -2;
+
     /**
      * Callback to receive the result of an eUICC card API.
      *