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

Commit 8297a09b authored by Jack Yu's avatar Jack Yu Committed by Automerger Merge Worker
Browse files

Merge "Moved getId API from system to public" am: ffb09e11 am: afefc4e4 am: f7a4c40e

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

Change-Id: I9f1a24505b270989dd1d2dd575c19781054d798f
parents a6855438 f7a4c40e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -41988,6 +41988,7 @@ package android.telephony {
  public final class PreciseDataConnectionState implements android.os.Parcelable {
    method public int describeContents();
    method @Nullable public android.telephony.data.ApnSetting getApnSetting();
    method public int getId();
    method public int getLastCauseCode();
    method @Nullable public android.net.LinkProperties getLinkProperties();
    method public int getNetworkType();
+0 −1
Original line number Diff line number Diff line
@@ -11409,7 +11409,6 @@ package android.telephony {
    method @Deprecated public int getDataConnectionApnTypeBitMask();
    method @Deprecated public int getDataConnectionFailCause();
    method @Deprecated public int getDataConnectionState();
    method public int getId();
  }
  public final class PreciseDisconnectCause {
+1 −3
Original line number Diff line number Diff line
@@ -166,14 +166,12 @@ public final class PreciseDataConnectionState implements Parcelable {
    /**
     * @return The unique id of the data connection
     *
     * Note this is the id assigned in {@link DataCallResponse}.
     * Note this is the id assigned by the data service.
     * The id remains the same for data connection handover between
     * {@link AccessNetworkConstants#TRANSPORT_TYPE_WLAN} and
     * {@link AccessNetworkConstants#TRANSPORT_TYPE_WWAN}
     *
     * @hide
     */
    @SystemApi
    public int getId() {
        return mId;
    }