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

Commit e3271601 authored by Nathan Harold's avatar Nathan Harold
Browse files

Update the docstring on getAllCellInfo() for unreported values

In the event that not all fields are available for a particular
cell information report, those values are set to
Integer.MAX_VALUE. In addition, this docstring clarifies the
minimum expectation for what will be reported in all cases.

Bug: 32364031
Test: none
Change-Id: Ic5df72f69e5917eb495d349a380ced53a80408fa
parent aef1a557
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -2952,7 +2952,10 @@ public class TelephonyManager {
     * methods may return true.
     *
     * <p>This method returns valid data for registered cells on devices with
     * {@link android.content.pm.PackageManager#FEATURE_TELEPHONY}.
     * {@link android.content.pm.PackageManager#FEATURE_TELEPHONY}. In cases where only
     * partial information is available for a particular CellInfo entry, unavailable fields
     * will be reported as Integer.MAX_VALUE. All reported cells will include at least a
     * valid set of technology-specific identification info and a power level measurement.
     *
     *<p>
     * This method is preferred over using {@link