diff options
author | Nathan Harold <nharold@google.com> | 2015-10-22 01:58:37 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-10-22 01:58:37 +0000 |
commit | f8a4dc4a6f8383fc2999ce1292d900912a0da842 (patch) | |
tree | 3cf9f2e93e0d7ae8ab317a6769eb55d0ecf63ed2 /telephony | |
parent | 33e1d376ebd643cba5b507d0005b87d49e246bb5 (diff) | |
parent | 5d1429e0dd1a13f76dbb354f9e4e415f71956299 (diff) | |
download | frameworks_base-f8a4dc4a6f8383fc2999ce1292d900912a0da842.zip frameworks_base-f8a4dc4a6f8383fc2999ce1292d900912a0da842.tar.gz frameworks_base-f8a4dc4a6f8383fc2999ce1292d900912a0da842.tar.bz2 |
Merge "Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()" into mnc-dr-dev
Diffstat (limited to 'telephony')
-rw-r--r-- | telephony/java/android/telephony/TelephonyManager.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index 47f13c9..053d89f 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 PhoneStateListner#onCellInfoChanged. + * not cause or change the rate of PhoneStateListener#onCellInfoChanged. *<p> * The list can include one or more of {@link android.telephony.CellInfoGsm CellInfoGsm}, * {@link android.telephony.CellInfoCdma CellInfoCdma}, @@ -2848,6 +2848,9 @@ 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} |