Skip to content
Snippets Groups Projects
Commit 6a33ee19 authored by Jack Yu's avatar Jack Yu
Browse files

Moved getId API from system to public

Fix: 169641293
Test: Build
Change-Id: I5e766c8d30bbaf9010bc4a1bc621b0db6f988cc8
parent eccbfe4b
No related branches found
No related tags found
No related merge requests found
......@@ -40487,6 +40487,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();
......@@ -9758,7 +9758,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 {
......
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment