commit | 2108944c13f271f68d20557318b99c26d8d5e06a | [log] [tgz] |
---|---|---|
author | Aaron Huang <huangaaron@google.com> | Thu Jan 16 23:31:02 2020 +0800 |
committer | Aaron Huang <huangaaron@google.com> | Mon Feb 03 19:27:37 2020 +0800 |
tree | 30d11c39882af8a7b3c415e1edd2f61ea8fe4bfe | |
parent | bfbaa0bbcaba41c5415d54691b85890305b6036f [diff] |
Use Context.NETWORK_POLICY_SERVICE to get network policy service INetworkPolicyManager is a raw AIDL file which won't expose as system API. Let's communicate with network policy service through NetworkPolicyManager instead. Context.NETWORK_POLICY_SERVICE is @SystemApi. Bug: 138306002 Test: atest FrameworksNetTests atest FrameworksTelephonyTests Change-Id: I41bc1cce08f81e2d822250f2d620bff7afe4329b Merged-In: I41bc1cce08f81e2d822250f2d620bff7afe4329b