OSDN Git Service

Annotate Data and Voice Roaming setters with @TestApi.
authorCody Kesting <ckesting@google.com>
Fri, 15 Mar 2019 18:20:01 +0000 (11:20 -0700)
committerCody Kesting <ckesting@google.com>
Tue, 19 Mar 2019 21:44:04 +0000 (14:44 -0700)
commite19048e52b9db21f86982ec0341a30083b3b9f97
treebedd4066b8bd3d698912a9804cd3a6efff3d660f
parente3cc2e6c9817df06acb55fcbab8f838907ed8a33
Annotate Data and Voice Roaming setters with @TestApi.

CTS testing for ServiceState's getRoaming() requires using
setDataRoamingType() and setVoiceRoamingType() for preparing state.
These are currently annotated as @hide and @UnsupportedAppUsage, with a
maxTargetSdk of P.

Bug: 74207290
Test: atest CtsTelephonyTestCases:ServiceStateTest
Change-Id: I08efeeae81494c0431ce34c5d68a73d4824c8d1d
api/test-current.txt
telephony/java/android/telephony/ServiceState.java