commit | ed813ed7673a309314dc01447d8ece826b3045e3 | [log] [tgz] |
---|---|---|
author | junyulai <junyulai@google.com> | Wed Dec 30 19:33:45 2020 +0800 |
committer | junyulai <junyulai@google.com> | Mon Feb 08 21:58:02 2021 +0800 |
tree | 5f1d7ec1645f618e1be04e081993289cabe1aaf0 | |
parent | 7514e1b8bb98edc8ab50efbd3b8270d4e636f2fa [diff] |
[FUI07] Stop making NetworkState with NetworkInfo from external callers Follow-up from previous patch. This change stop accessing the constructor that needs NetworkInfo to create NetworkState, which is no longer accessible after ConnectivityService become mainline module. Instead, pass a legacy network type which is dedicated for the need of the type. Test: atest FrameworksNetTests NetworkPolicyManagerServiceTest Bug: 174123988 Change-Id: I24157bc33e5a5819eccd6a3111d2049f531c1d43