commit | 5784080f24a17203dd8105eab8d45037365f37e0 | [log] [tgz] |
---|---|---|
author | junyulai <junyulai@google.com> | Wed Mar 03 12:09:05 2021 +0800 |
committer | junyulai <junyulai@google.com> | Thu Mar 04 18:41:09 2021 +0800 |
tree | 91ff7a2fc193482bb792cad8604ffe1cc29a2b3d | |
parent | e93b5d9bf3b9ebe4adb896b7e78e287cb5de78f7 [diff] |
[FUI22] Support getAllNetworkStateSnapshot Currently, ConnectivityService has getAllNetworkState but it is not ideal to expose as system API since the plan is to get rid of NetworkState. Thus, create a new one that returns NetworkStateSnapshot to fulfill the needs. Note the original getAllNetworkState cannot be deleted now since it has @UnsupportedAppUsage annotation. Test: atest FrameworksNetTests Bug: 174123988 Change-Id: Icddd434552b0e9ecbc8299e7242ec88cf3145aca