commit | 17b88d8b064eb72b062a3e29f7929d7d65d3310c | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Tue Nov 24 21:44:15 2020 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Fri Nov 27 15:35:39 2020 +0900 |
tree | a822bae15ffd629f26b7f89f40e0369f7cf6a891 | |
parent | 58fec06bd598633529e8a27a9c144c5726c50dbd [diff] |
Stop calling Vpn#updateCapabilities in CS. Instead, make Vpn#onUserAdded and Vpn#onUserRemoved notify CS of UID range changes through the VPN's NetworkAgent. After this change, ConnectivityService no longer touches the VPN's NetworkCapabilities directly, which is a much cleaner design. Bug: 173331190 Test: passes existing tests in ConnectivityServiceTest Change-Id: If2201f392cdb5f00c89a97683ad4ce6bda7b89e5