diff options
| author | Lorenzo Colitti <lorenzo@google.com> | 2021-08-16 15:30:05 +0900 |
|---|---|---|
| committer | Lorenzo Colitti <lorenzo@google.com> | 2021-08-17 01:36:54 +0900 |
| commit | bbadec37d215190583d260d5e1d4ab1df00009d2 (patch) | |
| tree | 230fe4a6276aba91a3781ef82c1f897ded2c17e8 /tests/unit/java/android/net/IpSecAlgorithmTest.java | |
| parent | 5805d3cfd2959f689fab883775249ad349e00f6b (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/unit/java/android/net/IpSecAlgorithmTest.java')
0 files changed, 0 insertions, 0 deletions
