diff --git a/telephony/java/android/telephony/SubscriptionManager.java b/telephony/java/android/telephony/SubscriptionManager.java index fc9acb81d408b..7c7bf0a21c3fd 100644 --- a/telephony/java/android/telephony/SubscriptionManager.java +++ b/telephony/java/android/telephony/SubscriptionManager.java @@ -3216,6 +3216,11 @@ public class SubscriptionManager { * * @param subId sub id * @param callbackIntent pending intent that will be sent after operation is done. + * + * to-be-deprecated this API is a duplicate of {@link EuiccManager#switchToSubscription(int, + * PendingIntent)} and does not support Multiple Enabled Profile(MEP). Apps should use + * {@link EuiccManager#switchToSubscription(int, PendingIntent)} or + * {@link EuiccManager#switchToSubscription(int, int, PendingIntent)} instead. */ @RequiresPermission(android.Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS) public void switchToSubscription(int subId, @NonNull PendingIntent callbackIntent) {