Merge "API Review: ServiceState.isSearching documentation" am: ec5c5b57ef am: 28956f792f
Change-Id: I5fa9390d7c8470264e72cdf464901127fb28eb85
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user