Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b1e1f7b7 authored by Brad Ebinger's avatar Brad Ebinger Committed by Automerger Merge Worker
Browse files

Merge changes from topics "delegate_regi_new_state_losing_pdn",...

Merge changes from topics "delegate_regi_new_state_losing_pdn", "ims_rcs_api_improvement_delegate_regi_state" am: 5fd9a457

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1911013

Change-Id: Id4b43dee68b4ebb126dd979415b30097df87fbee
parents 90cd1565 5fd9a457
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -12892,8 +12892,10 @@ package android.telephony.ims {
    field public static final int DEREGISTERED_REASON_UNKNOWN = 0; // 0x0
    field public static final int DEREGISTERING_REASON_DESTROY_PENDING = 6; // 0x6
    field public static final int DEREGISTERING_REASON_FEATURE_TAGS_CHANGING = 5; // 0x5
    field public static final int DEREGISTERING_REASON_LOSING_PDN = 7; // 0x7
    field public static final int DEREGISTERING_REASON_PDN_CHANGE = 3; // 0x3
    field public static final int DEREGISTERING_REASON_PROVISIONING_CHANGE = 4; // 0x4
    field public static final int DEREGISTERING_REASON_UNSPECIFIED = 8; // 0x8
  }
  public static final class DelegateRegistrationState.Builder {
+21 −2
Original line number Diff line number Diff line
@@ -97,6 +97,23 @@ public final class DelegateRegistrationState implements Parcelable {
     */
    public static final int DEREGISTERING_REASON_DESTROY_PENDING = 6;

    /**
     * This feature tag is deregistering because the PDN that the IMS registration is on
     * is being torn down.
     * <p>
     * All open SIP Dialogs associated with this feature tag must be  closed
     * using {@link SipDelegateConnection#cleanupSession(String)} before this operation can proceed.
     */
    public static final int DEREGISTERING_REASON_LOSING_PDN = 7;

    /**
     * This feature tag is deregistering because of an unspecified reason.
     * <p>
     * All open SIP Dialogs associated with this feature tag must be  closed
     * using {@link SipDelegateConnection#cleanupSession(String)} before this operation can proceed.
     */
    public static final int DEREGISTERING_REASON_UNSPECIFIED = 8;

/** @hide */
    @Retention(RetentionPolicy.SOURCE)
    @IntDef(prefix = "DEREGISTERED_REASON_", value = {
@@ -113,7 +130,9 @@ public final class DelegateRegistrationState implements Parcelable {
            DEREGISTERING_REASON_PDN_CHANGE,
            DEREGISTERING_REASON_PROVISIONING_CHANGE,
            DEREGISTERING_REASON_FEATURE_TAGS_CHANGING,
            DEREGISTERING_REASON_DESTROY_PENDING
            DEREGISTERING_REASON_DESTROY_PENDING,
            DEREGISTERING_REASON_LOSING_PDN,
            DEREGISTERING_REASON_UNSPECIFIED
    })
    public @interface DeregisteringReason {}