commit | aceffad3b251c7bcdf5f10cc4856fad1bf124cdf | [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 | 9d49e2629dddd8a72bd94eb1dd7a9af1a1ee52a1 | |
parent | 82f9a007c15103c9a26af611d2c9f4c2ba40ed9e [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