Weng Su 258483bff3 Cache Wi-Fi state in worker thread
- The WifiManager.getWifiState() is a blocking API, It may not be
  suitable for use on the UI thread.

- To avoid blocking the UI thread, we should cache the Wi-Fi state
  from the WIFI_STATE_CHANGED broadcast to return immediately.

Bug: 226039078
Test: manual test
make RunSettingsLibRoboTests ROBOTEST_FILTER=WifiStateWorkerTest

Change-Id: Ia0443824975f01099e52f777c15468f30285f4c1
2022-04-20 01:52:34 +00:00
…
…
…
…
…
2022-03-31 19:37:56 -07:00
…
2022-01-05 13:13:50 +00:00
…
…
Description
No description provided
21 GiB
Languages
Java 73.7%
Kotlin 14%
PowerBuilder 5.8%
C++ 5.2%
AIDL 1%