telephony: Add CdmaCellLocation class to the public API.

Its twin sister GsmCellLocation is public, so this really should be in the SDK too.

Change-Id: If6f5899047546a7398f1e4191c67acf15555c21b
Signed-off-by: Mike Lockwood <lockwood@android.com>
This commit is contained in:
Mike Lockwood
2009-09-17 16:42:09 -04:00
parent 96352104fb
commit 1b90def3c6
2 changed files with 150 additions and 3 deletions

View File

@@ -20,8 +20,7 @@ import android.os.Bundle;
import android.telephony.CellLocation;
/**
* Represents the cell location on a GSM phone.
* @hide
* Represents the cell location on a CDMA phone.
*/
public class CdmaCellLocation extends CellLocation {
private int mBaseStationId = -1;
@@ -31,7 +30,8 @@ public class CdmaCellLocation extends CellLocation {
private int mNetworkId = -1;
/**
* Empty constructor. Initializes the LAC and CID to -1.
* Empty constructor.
* Initializes the BID, SID, NID and base station latitude and longitude to -1.
*/
public CdmaCellLocation() {
this.mBaseStationId = -1;