diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2015-05-14 17:28:27 +0900 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2015-05-19 18:29:02 +0900 |
commit | 76f67797032981ccb63e12e808ebc8bda636a740 (patch) | |
tree | 3aeb71ce9bd1d9852616184a425d1e13a704e3e4 /core/java/android/net/LocalSocketImpl.java | |
parent | c6767354c5c2e32648c7404b73878a8ae66dd3c8 (diff) | |
download | frameworks_base-76f67797032981ccb63e12e808ebc8bda636a740.zip frameworks_base-76f67797032981ccb63e12e808ebc8bda636a740.tar.gz frameworks_base-76f67797032981ccb63e12e808ebc8bda636a740.tar.bz2 |
Make NET_CAPABILITY_VALIDATED (almost) a first-class citizen.
1. Always keep ConnectivityService's validated bits current:
- Apply the validated bit whenever a NetworkAgent updates its
NetworkCapabilities.
- Set or clear the validated bit whenever lastValidated changes.
2. Send callbacks when the validation state of a network changes.
3. Delete getNetworkCapabilitiesAndValidation, removing code
duplication with getNetworkCapabilities.
4. Add the validated bit to NetworkCapabilities#toString.
Bug: 18591282
Bug: 20081183
Change-Id: I6aa53b61c15cc137f203f9fc6bbd4c16894be750
Diffstat (limited to 'core/java/android/net/LocalSocketImpl.java')
0 files changed, 0 insertions, 0 deletions