commit | 1681f064ffd2d76a23054c8222771e1d6efea52d | [log] [tgz] |
---|---|---|
author | Hugo Benichi <hugobenichi@google.com> | Thu Apr 06 17:22:18 2017 +0900 |
committer | Andriy Naborskyy <andriyn@google.com> | Thu Jul 27 20:18:03 2017 -0700 |
tree | 3655c1cd81e950a2a742be34a5ed9e9258651e84 | |
parent | 57af1a02a622d8b6e1f327467bc1913379b72b1c [diff] |
DO NOT MERGE ANYWHERE ConnectivityService: move reportNetworkConnectivity to handler This patch moves reportNetworkConnectivity onto the handler of ConnectivityService. This allows: - to inspect NetworkAgentInfo on the ConnectivityService handler, which is always more correct than doing so on a Binder thread. - to improve locking policies around NetworkAgentInfo. Test: $ runtest frameworks-net Bug: 37119619, 36902662 Change-Id: I49a765826e65c29a1995242290e5e7544112c94e