commit | 6c280634c725c5a5832c78a5bdbbed4d75632471 | [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 | 525f8ea362889c5cb3028a0b4f15f1bd1d669d41 | |
parent | 78a488cd10a99aa7d2a3323ad9a0e36eee7337a5 [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