summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Holly Jiuyu Sun <jiuyu@google.com> 2018-03-02 19:01:41 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-03-02 19:01:41 +0000
commit45277c7aca55997670a15ff186d373b0735397de (patch)
tree54dc142aaff0b9f8142882efdae347864d150d68
parent6001f72478f44bc139e348be5e86e3d39525444d (diff)
parente902719b93b6938af4481d7ccc0e5616d6b2cc7b (diff)
Merge "Add result code for eUICC card not found."
-rw-r--r--api/system-current.txt1
-rw-r--r--telephony/java/android/telephony/euicc/EuiccCardManager.java3
2 files changed, 4 insertions, 0 deletions
diff --git a/api/system-current.txt b/api/system-current.txt
index d3f7260179a1..d66c1538475c 100644
--- a/api/system-current.txt
+++ b/api/system-current.txt
@@ -4505,6 +4505,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
}
diff --git a/telephony/java/android/telephony/euicc/EuiccCardManager.java b/telephony/java/android/telephony/euicc/EuiccCardManager.java
index 6be77250996e..cc0d1c69ae2a 100644
--- a/telephony/java/android/telephony/euicc/EuiccCardManager.java
+++ b/telephony/java/android/telephony/euicc/EuiccCardManager.java
@@ -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.
*