diff options
-rw-r--r-- | api/test-current.txt | 4 | ||||
-rw-r--r-- | telephony/java/android/telephony/ServiceState.java | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/api/test-current.txt b/api/test-current.txt index bf3d0c251a4e..1448b2a8d9a5 100644 --- a/api/test-current.txt +++ b/api/test-current.txt @@ -436,6 +436,10 @@ package android.telephony { field public static final java.lang.String MBMS_STREAMING_SERVICE_OVERRIDE_METADATA = "mbms-streaming-service-override"; } + public class ServiceState implements android.os.Parcelable { + method public void setSystemAndNetworkId(int, int); + } + } package android.telephony.mbms { diff --git a/telephony/java/android/telephony/ServiceState.java b/telephony/java/android/telephony/ServiceState.java index d2e7ae58073e..a9c1cf6c7bc3 100644 --- a/telephony/java/android/telephony/ServiceState.java +++ b/telephony/java/android/telephony/ServiceState.java @@ -19,6 +19,7 @@ package android.telephony; import android.annotation.IntDef; import android.annotation.Nullable; import android.annotation.SystemApi; +import android.annotation.TestApi; import android.os.Bundle; import android.os.Parcel; import android.os.Parcelable; @@ -1220,6 +1221,7 @@ public class ServiceState implements Parcelable { } /** @hide */ + @TestApi public void setSystemAndNetworkId(int systemId, int networkId) { this.mSystemId = systemId; this.mNetworkId = networkId; |