summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvinash Malipatil <avinashmp@google.com>2022-06-09 10:43:50 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-06-09 10:43:50 +0000
commitea3e36e44887ef8052669dfe6e8a53e55f787a95 (patch)
tree304ad50957c2fd1583873bc36348b9742451c840
parent94fe316bd188caf1cc083bbe50083293e0e22cac (diff)
parente9003d62f5f0e111827f067fe4756ce20daf9a16 (diff)
downloadbase-ea3e36e44887ef8052669dfe6e8a53e55f787a95.tar.gz
Merge "SIM slot not available error code added to UpdateAvailableNetworksResult" am: e9003d62f5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2045107 Change-Id: I874e7d863e0261d4dd9bccd3a740f1534a0abed9 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--telephony/java/android/telephony/TelephonyManager.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java
index 4e186e5e09fd..ec30b7a0ca9b 100644
--- a/telephony/java/android/telephony/TelephonyManager.java
+++ b/telephony/java/android/telephony/TelephonyManager.java
@@ -14077,7 +14077,8 @@ public class TelephonyManager {
UPDATE_AVAILABLE_NETWORKS_MULTIPLE_NETWORKS_NOT_SUPPORTED,
UPDATE_AVAILABLE_NETWORKS_NO_OPPORTUNISTIC_SUB_AVAILABLE,
UPDATE_AVAILABLE_NETWORKS_REMOTE_SERVICE_EXCEPTION,
- UPDATE_AVAILABLE_NETWORKS_SERVICE_IS_DISABLED})
+ UPDATE_AVAILABLE_NETWORKS_SERVICE_IS_DISABLED,
+ UPDATE_AVAILABLE_NETWORKS_SIM_PORT_NOT_AVAILABLE})
public @interface UpdateAvailableNetworksResult {}
/**
@@ -14136,6 +14137,12 @@ public class TelephonyManager {
public static final int UPDATE_AVAILABLE_NETWORKS_SERVICE_IS_DISABLED = 10;
/**
+ * SIM port is not available to switch to opportunistic subscription.
+ * @hide
+ */
+ public static final int UPDATE_AVAILABLE_NETWORKS_SIM_PORT_NOT_AVAILABLE = 11;
+
+ /**
* Set preferred opportunistic data subscription id.
*
* Switch internet data to preferred opportunistic data subscription id. This api