diff options
author | Varun Anand <vaanand@google.com> | 2019-02-25 17:22:02 -0800 |
---|---|---|
committer | Varun Anand <vaanand@google.com> | 2019-02-28 13:18:11 -0800 |
commit | c51b06d276ffde3527a4800213a85aff87c2e29c (patch) | |
tree | fcc5a7792ecb5ee0f0ce62093886c30eab0df63c /rs/java/android/renderscript/Program.java | |
parent | 222d1d04bfb1b4eda3962a917779ffc0efa987af (diff) |
Fix isActiveNetworkMetered for VPNs.
This change is basically a revert of http://ag/3580901.
It was made because previously VPN capabilities did not use to update
based on its underlying networks. That is no longer the case anymore.
This was previously returning meteredness on the basis of VPN's first
underlying network which is incorrect in cases such as VPN using
multiple underlying networks, or VPN that has explicitly marked itself
as metered via VpnService.Builder#setMetered API.
Bug: 123936838
Test: atest FrameworksNetTests
Change-Id: Ia54b8570fbad4a638a6d43a95e0271c6baf66685
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions