Skip to content

Commit

Permalink
Merge "Remove replaced PreciseDataConnectionState methods from SDK." …
Browse files Browse the repository at this point in the history
…into rvc-dev
  • Loading branch information
TreeHugger Robot authored and Android (Google) Code Review committed Mar 30, 2020
2 parents e7181b1 + eec778c commit da50240
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
2 changes: 0 additions & 2 deletions api/system-current.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down
5 changes: 5 additions & 0 deletions api/system-removed.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 0 additions & 2 deletions telephony/api/system-current.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down
5 changes: 5 additions & 0 deletions telephony/api/system-removed.txt
Original file line number Diff line number Diff line change
@@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ private PreciseDataConnectionState(Parcel in) {
*
* @deprecated use {@link getNetworkType()}
* @hide
* @removed Removed from the R preview SDK but was never part of the stable API surface.
*/
@Deprecated
@SystemApi
Expand Down Expand Up @@ -222,6 +223,7 @@ public String getDataConnectionApn() {
*
* @deprecated use {@link #getLinkProperties()}
* @hide
* @removed Removed from the R preview SDK but was never part of the stable API surface.
*/
@Deprecated
@SystemApi
Expand Down

0 comments on commit da50240

Please sign in to comment.