summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvinash Malipatil <avinashmp@google.com>2022-03-28 16:53:39 +0000
committerAvinash Malipatil <avinashmp@google.com>2022-06-09 06:17:45 +0000
commit13553c3ec6715648557b93793ff28b284292c2de (patch)
treedab4d73dfda8c648950b3d69862ba5c9ff48f99f
parent7db3ab2c8614e6a64865b9fd0ce3f8c91f588154 (diff)
downloadbase-13553c3ec6715648557b93793ff28b284292c2de.tar.gz
SIM slot not available error code added to UpdateAvailableNetworksResult
Bug: 227212990 Test: Build Change-Id: Ib3be8e3ad81848d1bb811564ee8a0e8c2886a284 (Merged-In: Ib3be8e3ad81848d1bb811564ee8a0e8c2886a284)
-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