commit | 0b2bd16cc685d3244cc76303d122bf84fab2a5e6 | [log] [tgz] |
---|---|---|
author | Weng Su <wengsu@google.com> | Tue Dec 14 17:09:34 2021 +0800 |
committer | Weng Su <wengsu@google.com> | Tue Dec 14 17:09:34 2021 +0800 |
tree | 22c9aa58386d5830e1dfbe1ebe9103a4572e6afe | |
parent | 1ff5a29afd29c63db19e466192410ce03de02d6e [diff] |
[Provider Model] Avoid running changes to WiFi level - Because getWifiDrawable() has avoided the WIFI_LEVEL_UNREACHABLE(-1) level design. - But it might have a chance to changes in the short time after the level checking above. - Use the local variable to avoid the risk of changes in WiFi level operation. Bug: 210369886 Test: manual test atest -c InternetAdapterTest \ InternetDialogControllerTest \ InternetDialogTest Change-Id: Id3f27ac7e4cc52fa3eea640eddd34d49863df8d2