From 415f14b65eec1973d6b4ca2b107b337178a0f5ee Mon Sep 17 00:00:00 2001 From: Shi Lu Date: Fri, 1 May 2020 17:51:27 +0000 Subject: [PATCH] Correct comments/documentation Bug: 150189172 Change-Id: Icebbf1ca42aa43ffbc2c424dafbf8928e576b0a2 --- telephony/java/android/telephony/NetworkRegistrationInfo.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/telephony/java/android/telephony/NetworkRegistrationInfo.java b/telephony/java/android/telephony/NetworkRegistrationInfo.java index 93fbb00ff9d54..31a83c9334d5c 100644 --- a/telephony/java/android/telephony/NetworkRegistrationInfo.java +++ b/telephony/java/android/telephony/NetworkRegistrationInfo.java @@ -389,7 +389,7 @@ public final class NetworkRegistrationInfo implements Parcelable { } /** - * @return {@code true} if registered on roaming network, {@code false} otherwise. + * @return {@code true} if registered on roaming or home network, {@code false} otherwise. */ public boolean isRegistered() { return mRegistrationState == REGISTRATION_STATE_HOME @@ -397,7 +397,7 @@ public final class NetworkRegistrationInfo implements Parcelable { } /** - * @return {@code true} if registered on roaming network, {@code false} otherwise. + * @return {@code true} if searching for service, {@code false} otherwise. */ public boolean isSearching() { return mRegistrationState == REGISTRATION_STATE_NOT_REGISTERED_SEARCHING;