commit | ebd15164e97763a728511ffa187b2dd92adec559 | [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 | 33e7f16a5d8ef85590090360750fa469cd2e18f4 [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