diff options
author | Weng Su <wengsu@google.com> | 2020-10-20 15:38:11 +0800 |
---|---|---|
committer | Weng Su <wengsu@google.com> | 2020-10-21 16:39:58 +0000 |
commit | f914e34d28038f648dee03218096f1282b1d8482 (patch) | |
tree | a1abeeaa3f3f6338dd2db99d92caa0ecff9c514e /src/com/android/settings/development/transcode/TranscodeUserControlPreferenceController.java | |
parent | 3e5defe5614cb17a8e4b012c72486fd9f85b2d2e (diff) |
Fix the Wi-Fi detailed settings un-editable issue.
- The WifiEntry info might not be ready in early stage. (ex:
WifiEntry#canSetPrivacy())
- The Wi-Fi detailed setting listens to the WifiEntry callback to
refresh the preferences, it should first update the preference status to
be editable or not, and then display preferences to the UI.
- The privicy preference should be able to set back to selectable when
WifiEntry#canSetPrivicy() change from false to true.
Bug: 170148009
Test:
make RunSettingsRoboTests
ROBOTEST_FILTER=WifiNetworkDetailsFragment2Test
make RunSettingsRoboTests
ROBOTEST_FILTER=WifiPrivacyPreferenceController2Test
Change-Id: I48ca060e6b468232f19c82e9de0ce4fce39cba7f
Merged-In: I567b2b80163631a01d165c0ac5c0aba392e014ef
Diffstat (limited to 'src/com/android/settings/development/transcode/TranscodeUserControlPreferenceController.java')
0 files changed, 0 insertions, 0 deletions