commit | 8253b45a4e0b4a8beda57f3f50a5698ef2242ad4 | [log] [tgz] |
---|---|---|
author | Quang Luong <qal@google.com> | Mon Apr 10 22:53:49 2023 +0000 |
committer | Quang Luong <qal@google.com> | Fri Apr 14 17:21:08 2023 +0000 |
tree | 81ed4b049bf71f84130f1e558fe13a262a4058c3 | |
parent | cdac78efa8830e23cce1c24e449a8bd69d773f05 [diff] |
Run WifiScanner callback on worker thread WifiScanner callbacks are currently running on the main thread, which causes concurrent modification exceptions and duplicated networks in the wifi picker. Make sure to post these callbacks to the worker thread instead. Bug: 277168460 Test: Manually verify wifi picker doesn't crash due to concurrent modification exceptions, and that duplicate networks aren't showing up. Change-Id: I3ff50ee7546d510f435b26c0ebbf4b2486e7f99a