commit | 5ccd6bd9e49b953d070a9e0c56f92413b6639ca7 | [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 | a5225eaf512c9f2d63da2350acd40d5846846bae [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