commit | b12113700c3ed569821557ef657c40244c1fb803 | [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 | a7a037375bcf08bb5b916c4e0934702a9b9f76cc | |
parent | 4297526f8b416d8d9928f4979c8f6a1515ec973c [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