commit | 53c4fc75a53fc6c2b3f9c7ee6d24c5d15decdec0 | [log] [tgz] |
---|---|---|
author | paulhu <paulhu@google.com> | Tue Dec 29 18:15:13 2020 +0800 |
committer | Aaron Huang <huangaaron@google.com> | Tue Jan 05 17:47:25 2021 +0800 |
tree | 2fd3179fa48b6b4ae69ea05c90e61a9fc69d6123 | |
parent | e4f60f7dffe48520a465cd16f0ab970b1e0a9ad9 [diff] |
Replace INetworkPolicyManager to NetworkPolicyManager Connectivity service is going to become a mainline module which will not able to access hidden APIs. Thus, use formal API Context#getSystemService() to get network policy service instead of hidden API ServiceManager#getService(). Bug: 170598012 Test: atest FrameworksNetTests FrameworksNetIntegrationTests Change-Id: I4f286264b5800b2b922f85a76ddd20d64d53000a