commit | 1215f09b07c46f305b9227639b8cf66da03d0ddd | [log] [tgz] |
---|---|---|
author | Varun Anand <vaanand@google.com> | Mon Jan 14 11:45:33 2019 -0800 |
committer | Varun Anand <vaanand@google.com> | Wed Jan 30 14:09:03 2019 -0800 |
tree | 4013a6c95c3e596069490b357be0f34c9451af85 | |
parent | d8148b6c8c259d3088a6d1aa9703ff208c76c36e [diff] |
Add an API that allows VPNs to declare themselves as metered. For VPN apps targeting Q and above, they will by default be treated as metered unless they override this setting before establishing VPN. Bug: 120145746 Test: atest FrameworksNetTests Test: On device tests verifying meteredness setup correctly for apps targeting Q and apps targeting P. Change-Id: Ia6d1f7ef244bc04ae2e28faa59625302b5994875