Merge "Remove replaced PreciseDataConnectionState methods from SDK." into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-03-30 22:24:30 +00:00
committed by Android (Google) Code Review
5 changed files with 12 additions and 4 deletions

View File

@@ -10883,8 +10883,6 @@ package android.telephony {
method @Deprecated @NonNull public String getDataConnectionApn();
method @Deprecated public int getDataConnectionApnTypeBitMask();
method @Deprecated public int getDataConnectionFailCause();
method @Deprecated @Nullable public android.net.LinkProperties getDataConnectionLinkProperties();
method @Deprecated public int getDataConnectionNetworkType();
method @Deprecated public int getDataConnectionState();
}

View File

@@ -180,6 +180,11 @@ package android.telecom {
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 {
method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void answerRingingCall();
method @Deprecated @RequiresPermission(android.Manifest.permission.CALL_PHONE) public boolean endCall();

View File

@@ -394,8 +394,6 @@ package android.telephony {
method @Deprecated @NonNull public String getDataConnectionApn();
method @Deprecated public int getDataConnectionApnTypeBitMask();
method @Deprecated public int getDataConnectionFailCause();
method @Deprecated @Nullable public android.net.LinkProperties getDataConnectionLinkProperties();
method @Deprecated public int getDataConnectionNetworkType();
method @Deprecated public int getDataConnectionState();
}

View File

@@ -1,6 +1,11 @@
// Signature format: 2.0
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 {
method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void answerRingingCall();
method @Deprecated @RequiresPermission(android.Manifest.permission.CALL_PHONE) public boolean endCall();

View File

@@ -171,6 +171,7 @@ public final class PreciseDataConnectionState implements Parcelable {
*
* @deprecated use {@link getNetworkType()}
* @hide
* @removed Removed from the R preview SDK but was never part of the stable API surface.
*/
@Deprecated
@SystemApi
@@ -222,6 +223,7 @@ public final class PreciseDataConnectionState implements Parcelable {
*
* @deprecated use {@link #getLinkProperties()}
* @hide
* @removed Removed from the R preview SDK but was never part of the stable API surface.
*/
@Deprecated
@SystemApi