Loading telephony/java/android/telephony/ims/ImsException.java +13 −1 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ import android.annotation.IntDef; import android.annotation.Nullable; import android.annotation.SystemApi; import android.content.pm.PackageManager; import android.telephony.SubscriptionManager; import android.text.TextUtils; import java.lang.annotation.Retention; Loading Loading @@ -55,12 +56,23 @@ public final class ImsException extends Exception { */ public static final int CODE_ERROR_UNSUPPORTED_OPERATION = 2; /** * The subscription ID associated with this operation is invalid or not active. * <p> * This is a configuration error and there should be no retry. The subscription used for this * operation is either invalid or has become inactive. The active subscriptions can be queried * with {@link SubscriptionManager#getActiveSubscriptionInfoList()}. * @hide */ public static final int CODE_ERROR_INVALID_SUBSCRIPTION = 3; /**@hide*/ @Retention(RetentionPolicy.SOURCE) @IntDef(prefix = "CODE_ERROR_", value = { CODE_ERROR_UNSPECIFIED, CODE_ERROR_SERVICE_UNAVAILABLE, CODE_ERROR_UNSUPPORTED_OPERATION CODE_ERROR_UNSUPPORTED_OPERATION, CODE_ERROR_INVALID_SUBSCRIPTION }) public @interface ImsErrorCode {} Loading telephony/java/android/telephony/ims/ImsMmTelManager.java +162 −17 File changed.Preview size limit exceeded, changes collapsed. Show changes Loading
telephony/java/android/telephony/ims/ImsException.java +13 −1 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ import android.annotation.IntDef; import android.annotation.Nullable; import android.annotation.SystemApi; import android.content.pm.PackageManager; import android.telephony.SubscriptionManager; import android.text.TextUtils; import java.lang.annotation.Retention; Loading Loading @@ -55,12 +56,23 @@ public final class ImsException extends Exception { */ public static final int CODE_ERROR_UNSUPPORTED_OPERATION = 2; /** * The subscription ID associated with this operation is invalid or not active. * <p> * This is a configuration error and there should be no retry. The subscription used for this * operation is either invalid or has become inactive. The active subscriptions can be queried * with {@link SubscriptionManager#getActiveSubscriptionInfoList()}. * @hide */ public static final int CODE_ERROR_INVALID_SUBSCRIPTION = 3; /**@hide*/ @Retention(RetentionPolicy.SOURCE) @IntDef(prefix = "CODE_ERROR_", value = { CODE_ERROR_UNSPECIFIED, CODE_ERROR_SERVICE_UNAVAILABLE, CODE_ERROR_UNSUPPORTED_OPERATION CODE_ERROR_UNSUPPORTED_OPERATION, CODE_ERROR_INVALID_SUBSCRIPTION }) public @interface ImsErrorCode {} Loading
telephony/java/android/telephony/ims/ImsMmTelManager.java +162 −17 File changed.Preview size limit exceeded, changes collapsed. Show changes