diff options
author | Chiachang Wang <chiachangwang@google.com> | 2020-10-23 09:58:18 +0800 |
---|---|---|
committer | Chiachang Wang <chiachangwang@google.com> | 2020-10-27 02:53:11 +0000 |
commit | d32aa193fdee6c2be5e5e4cb67e80f57299f1c04 (patch) | |
tree | d8e6759cfe7bb621de448b67c1f9e56cd2b4dbd7 /api | |
parent | 806eae49ff00e80207938dac0205dfbe56970aba (diff) |
Expose NetworkRegistrationInfo.getNrState() as public API
ConnectivityService is going to become a mainline module which
will not able to access hidden APIs. DataConnectionStat needs
to get the NR 5G state of the mobile data network for checking
if the network type is 5G or not. API in NetworkRegistrationInfo
is suggested to replace the original one in ServiceState. Thus,
expose it as a public API to support it.
Bug: 171183530
Test: make update-api ; m
Test: atest CtsTelephonyTestCases
Change-Id: I965499792286de4f1447559be66ca4be80bd0e6f
Diffstat (limited to 'api')
-rw-r--r-- | api/current.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt index 22b8c456f655..1b85521f7851 100644 --- a/api/current.txt +++ b/api/current.txt @@ -47669,6 +47669,7 @@ package android.telephony { method @NonNull public java.util.List<java.lang.Integer> getAvailableServices(); method @Nullable public android.telephony.CellIdentity getCellIdentity(); method public int getDomain(); + method public int getNrState(); method @Nullable public String getRegisteredPlmn(); method public int getTransportType(); method public boolean isRegistered(); |