commit | 2c8b3e302fa2068adbd15701d4d9498fcbd551ee | [log] [tgz] |
---|---|---|
author | Chalard Jean <jchalard@google.com> | Tue Nov 05 14:40:23 2019 +0900 |
committer | Chalard Jean <jchalard@google.com> | Tue Nov 19 22:41:09 2019 +0900 |
tree | dc0d31dcf4820bddda20c80976a77a0fce8f8cff | |
parent | 7c10ed5e9b4d0ddc6dd94047eb1ad7ca1e1ae7c9 [diff] |
[NS A01] Add checks for the handler thread This is a preliminary step to removing mNetworkForRequestId, whose role could be better managed by storing the network inside the NRI. This serves two purposes : 1. It is a sanity check. Those functions should never be called out of the handler thread, and if they are it's a bug. 2. It will serve to prove the followup changes are correct. Bug: 113554781 Test: ConnectivityServiceTest Change-Id: If29066839ad640121d33f231abdd4f37d0ad3fd5