commit | d5b24b48551679f625fb03977d5c3868a10b9c88 | [log] [tgz] |
---|---|---|
author | Paul Hu <paulhu@google.com> | Tue May 16 17:42:24 2023 +0800 |
committer | Paul Hu <paulhu@google.com> | Wed Jul 05 07:46:36 2023 +0000 |
tree | b33320802ed2016fb56d100599cdb8902030cc43 | |
parent | 775840e1b489f6564d8e2e2a2f7f18f8dfaa2758 [diff] |
Add a handler thread check to all public methods To ensure that all access to the MdnsServiceTypeClient is done on the handler thread, a handler thread check must be added to all public methods in the MdnsServiceTypeClient. This will allow the synchronized lock to be removed in future changes, and it will also ensure that MdnsServiceTypeClient can access MdsServiceCache properly. Bug: 265787401 Test: atest FrameworksNetTests Change-Id: I0206874eb0acdf0272b8ad23d29f3e764bfdec38