Merge "Moved getId API from system to public"
This commit is contained in:
@@ -40412,6 +40412,7 @@ package android.telephony {
|
|||||||
public final class PreciseDataConnectionState implements android.os.Parcelable {
|
public final class PreciseDataConnectionState implements android.os.Parcelable {
|
||||||
method public int describeContents();
|
method public int describeContents();
|
||||||
method @Nullable public android.telephony.data.ApnSetting getApnSetting();
|
method @Nullable public android.telephony.data.ApnSetting getApnSetting();
|
||||||
|
method public int getId();
|
||||||
method public int getLastCauseCode();
|
method public int getLastCauseCode();
|
||||||
method @Nullable public android.net.LinkProperties getLinkProperties();
|
method @Nullable public android.net.LinkProperties getLinkProperties();
|
||||||
method public int getNetworkType();
|
method public int getNetworkType();
|
||||||
|
|||||||
@@ -9795,7 +9795,6 @@ package android.telephony {
|
|||||||
method @Deprecated public int getDataConnectionApnTypeBitMask();
|
method @Deprecated public int getDataConnectionApnTypeBitMask();
|
||||||
method @Deprecated public int getDataConnectionFailCause();
|
method @Deprecated public int getDataConnectionFailCause();
|
||||||
method @Deprecated public int getDataConnectionState();
|
method @Deprecated public int getDataConnectionState();
|
||||||
method public int getId();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public final class PreciseDisconnectCause {
|
public final class PreciseDisconnectCause {
|
||||||
|
|||||||
@@ -166,14 +166,12 @@ public final class PreciseDataConnectionState implements Parcelable {
|
|||||||
/**
|
/**
|
||||||
* @return The unique id of the data connection
|
* @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
|
* The id remains the same for data connection handover between
|
||||||
* {@link AccessNetworkConstants#TRANSPORT_TYPE_WLAN} and
|
* {@link AccessNetworkConstants#TRANSPORT_TYPE_WLAN} and
|
||||||
* {@link AccessNetworkConstants#TRANSPORT_TYPE_WWAN}
|
* {@link AccessNetworkConstants#TRANSPORT_TYPE_WWAN}
|
||||||
*
|
*
|
||||||
* @hide
|
|
||||||
*/
|
*/
|
||||||
@SystemApi
|
|
||||||
public int getId() {
|
public int getId() {
|
||||||
return mId;
|
return mId;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user