commit | d22c7588d7242604091a8efee39f79bb4b2bef70 | [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 | d05fbc2f1f3d1fb5073b6bc0553a278d8cc705e2 | |
parent | cfa02cd6872821e695d9c11df3c28408dc84bdb9 [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