commit | ef3d71dfb4c5fb5b6473cd49b60572a5afbe3740 | [log] [tgz] |
---|---|---|
author | Evan Laird <evanlaird@google.com> | Mon Apr 25 13:18:10 2022 -0400 |
committer | Evan Laird <evanlaird@google.com> | Thu Apr 28 17:18:52 2022 -0400 |
tree | 43cb9e8000e4213bf1bb30f43c71509850c9157d | |
parent | 3d790a167398321eca2b462df83bfc7422b0b91f [diff] |
Synchronize access to mCurrentState when updating WifiSignalController expects broadcast updates to come in off the main thread, and WifiStatusTracker updates to come in on the main thread. This change ensures data access synchronization by making sure that all data access happens on a known background thread. Bug: 229425925 Test: atest NetworkControllerWifiTest Change-Id: Ifc04b2e25b0cc08ad6406030fa9de3df0ba2df2d