diff options
| author | 2020-03-10 11:46:42 -0700 | |
|---|---|---|
| committer | 2020-03-10 12:40:40 -0700 | |
| commit | ba01f23e9f4bc5935c8a554fe53f703423ca76af (patch) | |
| tree | 41863dcb02a56c22ba769ae241d26fc0408cc7e8 | |
| parent | 70d266df9b7be2ae2aad7cb20c51b1bcc0c296ae (diff) | |
Unexpose getDataRoamingFromRegistration API
Test: build
Bug: 148604865
Change-Id: I695645418d2babc1eb524a29b2054c1cd8f74da3
| -rwxr-xr-x | api/system-current.txt | 1 | ||||
| -rw-r--r-- | telephony/java/android/telephony/ServiceState.java | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/api/system-current.txt b/api/system-current.txt index bfdb0529fe7a..fe9f37dcc254 100755 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -11368,7 +11368,6 @@ package android.telephony { method public void fillInNotifierBundle(@NonNull android.os.Bundle); method public int getDataNetworkType(); method public int getDataRegistrationState(); - method public boolean getDataRoamingFromRegistration(); method @Nullable public android.telephony.NetworkRegistrationInfo getNetworkRegistrationInfo(int, int); method @NonNull public java.util.List<android.telephony.NetworkRegistrationInfo> getNetworkRegistrationInfoListForDomain(int); method @NonNull public java.util.List<android.telephony.NetworkRegistrationInfo> getNetworkRegistrationInfoListForTransportType(int); diff --git a/telephony/java/android/telephony/ServiceState.java b/telephony/java/android/telephony/ServiceState.java index 9b1baef1a70a..906c3903a9fc 100644 --- a/telephony/java/android/telephony/ServiceState.java +++ b/telephony/java/android/telephony/ServiceState.java @@ -689,8 +689,9 @@ public class ServiceState implements Parcelable { * @return true if registration indicates roaming, false otherwise * @hide */ - @SystemApi public boolean getDataRoamingFromRegistration() { + // TODO: all callers should refactor to get roaming state directly from modem + // this should not be exposed as a public API return mIsDataRoamingFromRegistration; } |