OSDN Git Service

Correct detail page UI once user change MAC randomized setting
authorclownshen <clownshen@google.com>
Wed, 17 Apr 2019 11:33:37 +0000 (19:33 +0800)
committerclownshen <clownshen@google.com>
Mon, 22 Apr 2019 03:44:37 +0000 (11:44 +0800)
commit60013de198d928eef3682c8ba8787f880d0eb0c9
tree0da272220c6cb66b13f0a860685eebaf7e7480a2
parent5e3261616fb478969862d303d1af5b76302edfd0
Correct detail page UI once user change MAC randomized setting

Changing MAC randomized setting will disconnect and reconnect Wi-Fi in
the background automatically. UI display as disconnect even AP
reconnected. Fix this problem and also remove some obsolete code.
Another problem is connect button display as disabled with
"Connecting..." wording after user click connect then change the MAC
randomized setting.

Bug: 130370187
Test: Manual test with test case in go/wifi_connnection_btn_design
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi.details.WifiDetailPreferenceControllerTest
Change-Id: Id87c3db0cc785a9ceb3a71c7cbb78ffd87ffb0a1
src/com/android/settings/wifi/details/WifiDetailPreferenceController.java
tests/robotests/src/com/android/settings/wifi/details/WifiDetailPreferenceControllerTest.java