Remove Deprecated-At-Birth APIs from PDCS am: bf5158f9a0 am: 0f1829eef2 am: 809f6a5fa4 am: 46a3f55679
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1436352 Change-Id: I6fbd28b3501acf63774268c2cbe7020c91ee8b80
This commit is contained in:
@@ -180,11 +180,6 @@ package android.telecom {
|
|||||||
|
|
||||||
package android.telephony {
|
package android.telephony {
|
||||||
|
|
||||||
public final class PreciseDataConnectionState implements android.os.Parcelable {
|
|
||||||
method @Deprecated @Nullable public android.net.LinkProperties getDataConnectionLinkProperties();
|
|
||||||
method @Deprecated public int getDataConnectionNetworkType();
|
|
||||||
}
|
|
||||||
|
|
||||||
public class TelephonyManager {
|
public class TelephonyManager {
|
||||||
method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void answerRingingCall();
|
method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void answerRingingCall();
|
||||||
method @Deprecated @RequiresPermission(android.Manifest.permission.CALL_PHONE) public boolean endCall();
|
method @Deprecated @RequiresPermission(android.Manifest.permission.CALL_PHONE) public boolean endCall();
|
||||||
|
|||||||
@@ -18839,7 +18839,6 @@ HSPLandroid/telephony/PreciseDataConnectionState;-><init>(Landroid/os/Parcel;)V
|
|||||||
HSPLandroid/telephony/PreciseDataConnectionState;-><init>(Landroid/os/Parcel;Landroid/telephony/PreciseDataConnectionState$1;)V
|
HSPLandroid/telephony/PreciseDataConnectionState;-><init>(Landroid/os/Parcel;Landroid/telephony/PreciseDataConnectionState$1;)V
|
||||||
HPLandroid/telephony/PreciseDataConnectionState;->equals(Ljava/lang/Object;)Z
|
HPLandroid/telephony/PreciseDataConnectionState;->equals(Ljava/lang/Object;)Z
|
||||||
HPLandroid/telephony/PreciseDataConnectionState;->getDataConnectionApn()Ljava/lang/String;
|
HPLandroid/telephony/PreciseDataConnectionState;->getDataConnectionApn()Ljava/lang/String;
|
||||||
HPLandroid/telephony/PreciseDataConnectionState;->getDataConnectionLinkProperties()Landroid/net/LinkProperties;
|
|
||||||
HPLandroid/telephony/PreciseDataConnectionState;->getNetworkType()I
|
HPLandroid/telephony/PreciseDataConnectionState;->getNetworkType()I
|
||||||
HPLandroid/telephony/PreciseDataConnectionState;->getState()I
|
HPLandroid/telephony/PreciseDataConnectionState;->getState()I
|
||||||
HSPLandroid/telephony/PreciseDataConnectionState;->toString()Ljava/lang/String;
|
HSPLandroid/telephony/PreciseDataConnectionState;->toString()Ljava/lang/String;
|
||||||
|
|||||||
@@ -165,11 +165,6 @@ package android.telecom {
|
|||||||
|
|
||||||
package android.telephony {
|
package android.telephony {
|
||||||
|
|
||||||
public final class PreciseDataConnectionState implements android.os.Parcelable {
|
|
||||||
method @Deprecated @Nullable public android.net.LinkProperties getDataConnectionLinkProperties();
|
|
||||||
method @Deprecated public int getDataConnectionNetworkType();
|
|
||||||
}
|
|
||||||
|
|
||||||
public class TelephonyManager {
|
public class TelephonyManager {
|
||||||
method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void answerRingingCall();
|
method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void answerRingingCall();
|
||||||
method @Deprecated @RequiresPermission(android.Manifest.permission.CALL_PHONE) public boolean endCall();
|
method @Deprecated @RequiresPermission(android.Manifest.permission.CALL_PHONE) public boolean endCall();
|
||||||
|
|||||||
@@ -1708,7 +1708,7 @@ public class TelephonyRegistry extends ITelephonyRegistry.Stub {
|
|||||||
apn = preciseState.getDataConnectionApn();
|
apn = preciseState.getDataConnectionApn();
|
||||||
state = preciseState.getState();
|
state = preciseState.getState();
|
||||||
networkType = preciseState.getNetworkType();
|
networkType = preciseState.getNetworkType();
|
||||||
linkProps = preciseState.getDataConnectionLinkProperties();
|
linkProps = preciseState.getLinkProperties();
|
||||||
}
|
}
|
||||||
if (VDBG) {
|
if (VDBG) {
|
||||||
log("notifyDataConnectionForSubscriber: subId=" + subId
|
log("notifyDataConnectionForSubscriber: subId=" + subId
|
||||||
|
|||||||
@@ -1,11 +1,6 @@
|
|||||||
// Signature format: 2.0
|
// Signature format: 2.0
|
||||||
package android.telephony {
|
package android.telephony {
|
||||||
|
|
||||||
public final class PreciseDataConnectionState implements android.os.Parcelable {
|
|
||||||
method @Deprecated @Nullable public android.net.LinkProperties getDataConnectionLinkProperties();
|
|
||||||
method @Deprecated public int getDataConnectionNetworkType();
|
|
||||||
}
|
|
||||||
|
|
||||||
public class TelephonyManager {
|
public class TelephonyManager {
|
||||||
method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void answerRingingCall();
|
method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void answerRingingCall();
|
||||||
method @Deprecated @RequiresPermission(android.Manifest.permission.CALL_PHONE) public boolean endCall();
|
method @Deprecated @RequiresPermission(android.Manifest.permission.CALL_PHONE) public boolean endCall();
|
||||||
|
|||||||
@@ -166,19 +166,6 @@ public final class PreciseDataConnectionState implements Parcelable {
|
|||||||
return mState;
|
return mState;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the network type associated with this data connection.
|
|
||||||
*
|
|
||||||
* @deprecated use {@link getNetworkType()}
|
|
||||||
* @hide
|
|
||||||
* @removed Removed from the R preview SDK but was never part of the stable API surface.
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
@SystemApi
|
|
||||||
public @NetworkType int getDataConnectionNetworkType() {
|
|
||||||
return mNetworkType;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the network type associated with this data connection.
|
* Returns the network type associated with this data connection.
|
||||||
*
|
*
|
||||||
@@ -218,20 +205,6 @@ public final class PreciseDataConnectionState implements Parcelable {
|
|||||||
return mApn;
|
return mApn;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the properties of the network link {@link LinkProperties}.
|
|
||||||
*
|
|
||||||
* @deprecated use {@link #getLinkProperties()}
|
|
||||||
* @hide
|
|
||||||
* @removed Removed from the R preview SDK but was never part of the stable API surface.
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
@SystemApi
|
|
||||||
@Nullable
|
|
||||||
public LinkProperties getDataConnectionLinkProperties() {
|
|
||||||
return mLinkProperties;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the properties of the network link {@link LinkProperties}.
|
* Get the properties of the network link {@link LinkProperties}.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user