summaryrefslogtreecommitdiffstats
path: root/src/java/com/android/internal/telephony/Phone.java
diff options
context:
space:
mode:
authorWink Saville <wink@google.com>2012-07-17 11:14:28 -0700
committerWink Saville <wink@google.com>2012-07-18 11:45:31 -0700
commitef1d4bff9bbf7d967dbcace73f08910e14e367d0 (patch)
tree4629096d476757e3ec2f0c4879cdedb5de6d1a15 /src/java/com/android/internal/telephony/Phone.java
parent013125a96b1e6f46eed507c65bce65ebfec60b6d (diff)
downloadframeworks_opt_telephony-ef1d4bff9bbf7d967dbcace73f08910e14e367d0.zip
frameworks_opt_telephony-ef1d4bff9bbf7d967dbcace73f08910e14e367d0.tar.gz
frameworks_opt_telephony-ef1d4bff9bbf7d967dbcace73f08910e14e367d0.tar.bz2
Revise CellInfo API's
Change-Id: I35bc22caf4a6a2255f2ce122690823f8d602b359
Diffstat (limited to 'src/java/com/android/internal/telephony/Phone.java')
-rw-r--r--src/java/com/android/internal/telephony/Phone.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/java/com/android/internal/telephony/Phone.java b/src/java/com/android/internal/telephony/Phone.java
index 34aa96c..00a4554 100644
--- a/src/java/com/android/internal/telephony/Phone.java
+++ b/src/java/com/android/internal/telephony/Phone.java
@@ -22,6 +22,7 @@ import android.net.LinkProperties;
import android.os.Handler;
import android.os.Message;
import android.os.SystemProperties;
+import android.telephony.CellInfo;
import android.telephony.CellLocation;
import android.telephony.PhoneStateListener;
import android.telephony.ServiceState;
@@ -176,6 +177,11 @@ public interface Phone {
CellLocation getCellLocation();
/**
+ * @return all available cell information or null if none.
+ */
+ public List<CellInfo> getAllCellInfo();
+
+ /**
* Get the current for the default apn DataState. No change notification
* exists at this interface -- use
* {@link android.telephony.PhoneStateListener} instead.