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

Commit 814f1899 authored by shilu's avatar shilu
Browse files

API Review: ServiceState.isSearching documentation

Bug: 148285799
Test: make & make doc-comment-check-docs
Change-Id: I61fe6f22be98463e5579645998f5ebc863f5f4a8
parent bae34cb9
Loading
Loading
Loading
Loading
+11 −4
Original line number Diff line number Diff line
@@ -2046,11 +2046,18 @@ public class ServiceState implements Parcelable {
    public boolean isIwlanPreferred() {
        return mIsIwlanPreferred;
    }

    /**
     * @return {@code true}Returns True whenever the modem is searching for service.
     * To check both CS and PS domain
     * This indicates whether the device is searching for service.
     *
     * This API reports the modem searching status for
     * {@link AccessNetworkConstants#TRANSPORT_TYPE_WWAN} (cellular) service in either
     * {@link NetworkRegistrationInfo#DOMAIN_CS} or {@link NetworkRegistrationInfo#DOMAIN_PS}.
     * This API will not report searching status for
     * {@link AccessNetworkConstants#TRANSPORT_TYPE_WLAN}.
     *
     * @return {@code true} whenever the modem is searching for service.
     */

    public boolean isSearching() {
        NetworkRegistrationInfo psRegState = getNetworkRegistrationInfo(
                NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN);