commit | 0291f462d09e1f852eab89f500d47cfab17d4a4d | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Thu Mar 18 20:57:11 2021 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Mon Mar 22 02:29:29 2021 +0900 |
tree | 6bc6dd3e2f586b8e1dc7818df33482cb81d6d8b1 | |
parent | 99e56c6d6b9b4cb50ad56271d4b6e09a7a7e6608 [diff] |
Test a bug with NETWORK_SETTINGS+registerDefaultNetworkCallback. Currently, if a process with NETWORK_SETTINGS registers a default network callback, its uid will be ignored and replaced with an empty list of UIDs. This means it will incorrectly match VPNs with any UID range. Add a test for this bug to make it easier to review the upcoming change that fixes it. Bug: 165835257 Test: test-only change Change-Id: If58524b01fdd60045fb7236d17dedf31fb563f99