diff options
| author | 2022-04-25 13:18:10 -0400 | |
|---|---|---|
| committer | 2022-04-28 17:18:52 -0400 | |
| commit | ef3d71dfb4c5fb5b6473cd49b60572a5afbe3740 (patch) | |
| tree | 43cb9e8000e4213bf1bb30f43c71509850c9157d /api/api.go | |
| 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
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions