Loading telephony/java/android/telephony/CellLocation.java +6 −0 Original line number Diff line number Diff line Loading @@ -80,6 +80,12 @@ public abstract class CellLocation { */ public abstract boolean isEmpty(); /** * Invalidate this object. The location area code and the cell id are set to -1. * @hide */ public abstract void setStateInvalid(); /** * Return a new CellLocation object representing an unknown * location, or null for unknown/none phone radio types. Loading telephony/java/android/telephony/cdma/CdmaCellLocation.java +2 −1 Original line number Diff line number Diff line Loading @@ -123,6 +123,7 @@ public class CdmaCellLocation extends CellLocation { /** * Invalidate this object. The cell location data is set to invalid values. */ @Override public void setStateInvalid() { this.mBaseStationId = -1; this.mBaseStationLatitude = INVALID_LAT_LONG; Loading telephony/java/android/telephony/gsm/GsmCellLocation.java +1 −0 Original line number Diff line number Diff line Loading @@ -72,6 +72,7 @@ public class GsmCellLocation extends CellLocation { /** * Invalidate this object. The location area code and the cell id are set to -1. */ @Override public void setStateInvalid() { mLac = -1; mCid = -1; Loading Loading
telephony/java/android/telephony/CellLocation.java +6 −0 Original line number Diff line number Diff line Loading @@ -80,6 +80,12 @@ public abstract class CellLocation { */ public abstract boolean isEmpty(); /** * Invalidate this object. The location area code and the cell id are set to -1. * @hide */ public abstract void setStateInvalid(); /** * Return a new CellLocation object representing an unknown * location, or null for unknown/none phone radio types. Loading
telephony/java/android/telephony/cdma/CdmaCellLocation.java +2 −1 Original line number Diff line number Diff line Loading @@ -123,6 +123,7 @@ public class CdmaCellLocation extends CellLocation { /** * Invalidate this object. The cell location data is set to invalid values. */ @Override public void setStateInvalid() { this.mBaseStationId = -1; this.mBaseStationLatitude = INVALID_LAT_LONG; Loading
telephony/java/android/telephony/gsm/GsmCellLocation.java +1 −0 Original line number Diff line number Diff line Loading @@ -72,6 +72,7 @@ public class GsmCellLocation extends CellLocation { /** * Invalidate this object. The location area code and the cell id are set to -1. */ @Override public void setStateInvalid() { mLac = -1; mCid = -1; Loading