commit | ff493c4f0a75d1a218a206332b36ebcf5c13dfd7 | [log] [tgz] |
---|---|---|
author | lucaslin <lucaslin@google.com> | Fri Nov 13 10:23:35 2020 +0800 |
committer | Lucas Lin <lucaslin@google.com> | Tue Nov 17 07:07:29 2020 +0000 |
tree | f6488bd58334fe1b48bd0d9ebddf30c2a7cb9eea | |
parent | 464bc344a5892167915837c444e0dccf76032528 [diff] |
Don't use @hide API - ConnectivityManager#getNetworkTypeName() To prevent calling @hide API, print definition of network type directly instead of calling @hide API. Bug: 172183305 Test: atest FrameworksNetTests Test: atest CtsNetTestCasesLatestSdk Test: Setup a platform VPN and enable VPN always-on, then check the log. Change-Id: I807e90537f706face51c5cc221490ea742d22a0e