summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Harold <nharold@google.com>2015-10-22 02:54:45 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-10-22 02:54:45 +0000
commit42015c4081f9d37d579f0be15e11725cf6cc5fba (patch)
tree3bee8591acdbc3180738ea2e4ffe3ba395c657f6
parentf8a4dc4a6f8383fc2999ce1292d900912a0da842 (diff)
parentf7b6474de87fd2eee377dc612c757102cdacc003 (diff)
downloadbase-42015c4081f9d37d579f0be15e11725cf6cc5fba.tar.gz
Merge "Revert "Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()"" into mnc-dr-dev
-rw-r--r--telephony/java/android/telephony/TelephonyManager.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java
index 053d89fb0ccf..47f13c96d165 100644
--- a/telephony/java/android/telephony/TelephonyManager.java
+++ b/telephony/java/android/telephony/TelephonyManager.java
@@ -2834,7 +2834,7 @@ public class TelephonyManager {
/**
* Returns all observed cell information from all radios on the
* device including the primary and neighboring cells. This does
- * not cause or change the rate of PhoneStateListener#onCellInfoChanged.
+ * not cause or change the rate of PhoneStateListner#onCellInfoChanged.
*<p>
* The list can include one or more of {@link android.telephony.CellInfoGsm CellInfoGsm},
* {@link android.telephony.CellInfoCdma CellInfoCdma},
@@ -2848,9 +2848,6 @@ public class TelephonyManager {
* devices this may return null in which case getCellLocation should
* be called.
*<p>
- * This API will return valid data for registered cells on devices with
- * {@link android.content.pm.PackageManager.FEATURE_TELEPHONY}
- *<p>
* @return List of CellInfo or null if info unavailable.
*
* <p>Requires Permission: {@link android.Manifest.permission#ACCESS_COARSE_LOCATION}