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

Commit e0fb3e2d authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "API Review: ServiceState.isSearching documentation" am: ec5c5b57 am:...

Merge "API Review: ServiceState.isSearching documentation" am: ec5c5b57 am: 28956f79 am: 0fa980d4

Change-Id: Ic6dea9a185998c264fd8afc9ab286473d169856e
parents c240f071 0fa980d4
Loading
Loading
Loading
Loading
+11 −4
Original line number Original line Diff line number Diff line
@@ -2072,11 +2072,18 @@ public class ServiceState implements Parcelable {
    public boolean isIwlanPreferred() {
    public boolean isIwlanPreferred() {
        return mIsIwlanPreferred;
        return mIsIwlanPreferred;
    }
    }

    /**
    /**
     * @return {@code true}Returns True whenever the modem is searching for service.
     * This indicates whether the device is searching for service.
     * To check both CS and PS domain
     *
     * 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() {
    public boolean isSearching() {
        NetworkRegistrationInfo psRegState = getNetworkRegistrationInfo(
        NetworkRegistrationInfo psRegState = getNetworkRegistrationInfo(
                NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN);
                NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN);