commit | 83759ee94b61da0bede8e87daec06da570b05f36 | [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 | b38fb31fdd1d4945bed32386d4c4da01e0ee2079 | |
parent | c7fe99fdbef13ef977205fa4f7adffab43ca6864 [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