summaryrefslogtreecommitdiff
path: root/tests/common/java/android/net/NetworkCapabilitiesTest.java
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2021-08-16 15:30:05 +0900
committerLorenzo Colitti <lorenzo@google.com>2021-08-17 01:36:54 +0900
commitbbadec37d215190583d260d5e1d4ab1df00009d2 (patch)
tree230fe4a6276aba91a3781ef82c1f897ded2c17e8 /tests/common/java/android/net/NetworkCapabilitiesTest.java
parent5805d3cfd2959f689fab883775249ad349e00f6b (diff)
Add a unit test for a bug in registerDefaultNetworkCallback.
Currently, when a VPN app calls registerDefaultNetworkCallback, it will always get its own VPN, even if the VPN app called VpnService.Builder#addDisallowedApplication to take itself out of the VPN's UID ranges. Add a test for the current incorrect behaviour. Also fix an indentation error elsewhere. Bug: 195265065 Test: test-only change Change-Id: Id9648ea71fc7ae10855aa311beeb7975569d17f2
Diffstat (limited to 'tests/common/java/android/net/NetworkCapabilitiesTest.java')
0 files changed, 0 insertions, 0 deletions