commit | 18b00acd92c200066d38f9b46e2702796203134a | [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 | 083b00b5fb228c358dfde93ba639aff748c9a073 [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