commit | 41c85f50c437a2bfff5cd58e9208d307d8dec09c | [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 | 7f1a75f57f4d5465c31c0508e2dcabe9033d9a03 | |
parent | 1984fb1cb0e9d957df7c9beab3ecaae9fdbc3d5a [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