commit | fb8db88bd44afdae77cd03594fa6f741220dd31d | [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 | 228baefe804bc6c172f41e407843b75a918d7aae [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