summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Weng Su <wengsu@google.com> 2022-04-20 04:16:48 +0800
committer Weng Su <wengsu@google.com> 2022-04-23 06:46:21 +0800
commit8e8b50c64762bae84eedd10e0ba36e1d3081da2b (patch)
treec9b5cf8691c1a6a16c157399ea5944a7bb648c39 /cmds/bootanimation/BootAnimation.cpp
parenteca6ae398db323708c7873f2fad87ec12be50640 (diff)
Use Wi-Fi state cache in Internet Panel
- The WifiManager.getWifiState() is a blocking API, It may not be suitable for use on the UI thread. - Use the Wi-Fi state cache to avoid blocking the main thread of Internet Panel. - If Wi-Fi is enabled, avoid setting Enable Wi-Fi again. Bug: 223839177 Bug: 226039078 Test: manual test atest -c InternetDialogControllerTest \ InternetDialogTest \ com.android.systemui.qs.tiles.dialog.WifiStateWorkerTest Change-Id: I74b05f05538e89472b26860e587f4f281d934908
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions