Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5be7dbc8 authored by Nathan Harold's avatar Nathan Harold Committed by android-build-merger
Browse files

Merge "Revert "Add the FEATURE_TELEPHONY restriction to...

Merge "Revert "Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()"" into mnc-dr-dev
am: 42015c40

* commit '42015c40':
  Revert "Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()"
parents dc9f8fab 42015c40
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -2874,7 +2874,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},
@@ -2888,9 +2888,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}