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

Commit 3022e62c authored by Nathan Harold's avatar Nathan Harold Committed by Automerger Merge Worker
Browse files

Merge "Deprecate CellLocation Classes" am: 27b33841 am: b92bb8e6 am:...

Merge "Deprecate CellLocation Classes" am: 27b33841 am: b92bb8e6 am: 5d8e5249 am: febf87fd am: 32f7c492

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1429088

Change-Id: Iae323ada9dde37a7b23b390b3b55aca6b9d2980a
parents 71ea38f5 32f7c492
Loading
Loading
Loading
Loading
+25 −25
Original line number Diff line number Diff line
@@ -47209,9 +47209,9 @@ package android.telephony {
    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.CellInfoWcdma> CREATOR;
  }
  public abstract class CellLocation {
    ctor public CellLocation();
    method public static android.telephony.CellLocation getEmpty();
  @Deprecated public abstract class CellLocation {
    ctor @Deprecated public CellLocation();
    method @Deprecated public static android.telephony.CellLocation getEmpty();
    method @Deprecated public static void requestLocationUpdate();
  }
@@ -48729,19 +48729,19 @@ package android.telephony {
package android.telephony.cdma {
  public class CdmaCellLocation extends android.telephony.CellLocation {
    ctor public CdmaCellLocation();
    ctor public CdmaCellLocation(android.os.Bundle);
    method public static double convertQuartSecToDecDegrees(int);
    method public void fillInNotifierBundle(android.os.Bundle);
    method public int getBaseStationId();
    method public int getBaseStationLatitude();
    method public int getBaseStationLongitude();
    method public int getNetworkId();
    method public int getSystemId();
    method public void setCellLocationData(int, int, int);
    method public void setCellLocationData(int, int, int, int, int);
    method public void setStateInvalid();
  @Deprecated public class CdmaCellLocation extends android.telephony.CellLocation {
    ctor @Deprecated public CdmaCellLocation();
    ctor @Deprecated public CdmaCellLocation(android.os.Bundle);
    method @Deprecated public static double convertQuartSecToDecDegrees(int);
    method @Deprecated public void fillInNotifierBundle(android.os.Bundle);
    method @Deprecated public int getBaseStationId();
    method @Deprecated public int getBaseStationLatitude();
    method @Deprecated public int getBaseStationLongitude();
    method @Deprecated public int getNetworkId();
    method @Deprecated public int getSystemId();
    method @Deprecated public void setCellLocationData(int, int, int);
    method @Deprecated public void setCellLocationData(int, int, int, int, int);
    method @Deprecated public void setStateInvalid();
  }
}
@@ -48941,15 +48941,15 @@ package android.telephony.euicc {
package android.telephony.gsm {
  public class GsmCellLocation extends android.telephony.CellLocation {
    ctor public GsmCellLocation();
    ctor public GsmCellLocation(android.os.Bundle);
    method public void fillInNotifierBundle(android.os.Bundle);
    method public int getCid();
    method public int getLac();
    method public int getPsc();
    method public void setLacAndCid(int, int);
    method public void setStateInvalid();
  @Deprecated public class GsmCellLocation extends android.telephony.CellLocation {
    ctor @Deprecated public GsmCellLocation();
    ctor @Deprecated public GsmCellLocation(android.os.Bundle);
    method @Deprecated public void fillInNotifierBundle(android.os.Bundle);
    method @Deprecated public int getCid();
    method @Deprecated public int getLac();
    method @Deprecated public int getPsc();
    method @Deprecated public void setLacAndCid(int, int);
    method @Deprecated public void setStateInvalid();
  }
  @Deprecated public final class SmsManager {
+25 −25
Original line number Diff line number Diff line
@@ -45346,9 +45346,9 @@ package android.telephony {
    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.CellInfoWcdma> CREATOR;
  }
  public abstract class CellLocation {
    ctor public CellLocation();
    method public static android.telephony.CellLocation getEmpty();
  @Deprecated public abstract class CellLocation {
    ctor @Deprecated public CellLocation();
    method @Deprecated public static android.telephony.CellLocation getEmpty();
    method @Deprecated public static void requestLocationUpdate();
  }
@@ -46866,19 +46866,19 @@ package android.telephony {
package android.telephony.cdma {
  public class CdmaCellLocation extends android.telephony.CellLocation {
    ctor public CdmaCellLocation();
    ctor public CdmaCellLocation(android.os.Bundle);
    method public static double convertQuartSecToDecDegrees(int);
    method public void fillInNotifierBundle(android.os.Bundle);
    method public int getBaseStationId();
    method public int getBaseStationLatitude();
    method public int getBaseStationLongitude();
    method public int getNetworkId();
    method public int getSystemId();
    method public void setCellLocationData(int, int, int);
    method public void setCellLocationData(int, int, int, int, int);
    method public void setStateInvalid();
  @Deprecated public class CdmaCellLocation extends android.telephony.CellLocation {
    ctor @Deprecated public CdmaCellLocation();
    ctor @Deprecated public CdmaCellLocation(android.os.Bundle);
    method @Deprecated public static double convertQuartSecToDecDegrees(int);
    method @Deprecated public void fillInNotifierBundle(android.os.Bundle);
    method @Deprecated public int getBaseStationId();
    method @Deprecated public int getBaseStationLatitude();
    method @Deprecated public int getBaseStationLongitude();
    method @Deprecated public int getNetworkId();
    method @Deprecated public int getSystemId();
    method @Deprecated public void setCellLocationData(int, int, int);
    method @Deprecated public void setCellLocationData(int, int, int, int, int);
    method @Deprecated public void setStateInvalid();
  }
}
@@ -47078,15 +47078,15 @@ package android.telephony.euicc {
package android.telephony.gsm {
  public class GsmCellLocation extends android.telephony.CellLocation {
    ctor public GsmCellLocation();
    ctor public GsmCellLocation(android.os.Bundle);
    method public void fillInNotifierBundle(android.os.Bundle);
    method public int getCid();
    method public int getLac();
    method public int getPsc();
    method public void setLacAndCid(int, int);
    method public void setStateInvalid();
  @Deprecated public class GsmCellLocation extends android.telephony.CellLocation {
    ctor @Deprecated public GsmCellLocation();
    ctor @Deprecated public GsmCellLocation(android.os.Bundle);
    method @Deprecated public void fillInNotifierBundle(android.os.Bundle);
    method @Deprecated public int getCid();
    method @Deprecated public int getLac();
    method @Deprecated public int getPsc();
    method @Deprecated public void setLacAndCid(int, int);
    method @Deprecated public void setStateInvalid();
  }
  @Deprecated public final class SmsManager {
+3 −0
Original line number Diff line number Diff line
@@ -29,7 +29,10 @@ import com.android.internal.telephony.PhoneConstants;

/**
 * Abstract class that represents the location of the device.  {@more}
 *
 * @deprecated use {@link android.telephony.CellIdentity CellIdentity}.
 */
@Deprecated
public abstract class CellLocation {

    /**
+3 −0
Original line number Diff line number Diff line
@@ -23,7 +23,10 @@ import android.telephony.CellLocation;

/**
 * Represents the cell location on a CDMA phone.
 *
 * @deprecated use {@link android.telephony.CellIdentity CellIdentity}.
 */
@Deprecated
public class CdmaCellLocation extends CellLocation {
    @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P, trackingBug = 115609023)
    private int mBaseStationId = -1;
+3 −0
Original line number Diff line number Diff line
@@ -23,7 +23,10 @@ import android.telephony.CellLocation;

/**
 * Represents the cell location on a GSM phone.
 *
 * @deprecated use {@link android.telephony.CellIdentity CellIdentity}.
 */
@Deprecated
public class GsmCellLocation extends CellLocation {
    private int mLac;
    private int mCid;