commit | d6b510a23e2d779c51a2a89dc0fabaea1a061df6 | [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 | 2a9755f4df7f741873e82536a4c7981f973284f5 | |
parent | 21a081bf3405164d6905291cc2370880a71a58d7 [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