Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eec778cc authored by Michael Wright's avatar Michael Wright
Browse files

Remove replaced PreciseDataConnectionState methods from SDK.

Prior to finalization, we need to remove all methods which were
replaced but kept around for short-term compatibility purposes.
PreciseDataConnectionState had a couple methods that fell into this
category that had yet to be removed.

Bug: 152787887
Test: builds
Change-Id: Ib175b2530791cec7e31684a1d3f318c95e27f707
parent f51b6aa5
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -10911,8 +10911,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();
  }
+5 −0
Original line number Diff line number Diff line
@@ -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();
+0 −2
Original line number Diff line number Diff line
@@ -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();
  }

+5 −0
Original line number Diff line number Diff line
// 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();
+2 −0
Original line number Diff line number Diff line
@@ -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