commit | 1c51d7acf89844ea5226bc89e1bf5cb76ea05ad5 | [log] [tgz] |
---|---|---|
author | Hugo Benichi <hugobenichi@google.com> | Thu Apr 06 17:22:18 2017 +0900 |
committer | Hugo Benichi <hugobenichi@google.com> | Fri Apr 21 15:17:54 2017 +0900 |
tree | 2c65deacd2b5e32d2ef96d04906303458271ec11 | |
parent | 1321e592fe8ba8f3d975d0e8af6c4fec84481ff4 [diff] |
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