commit | 6c42636cb8c4ecaf1ba948677d2908b1d9004e8d | [log] [tgz] |
---|---|---|
author | Weng Su <wengsu@google.com> | Fri Apr 08 05:35:14 2022 +0800 |
committer | Weng Su <wengsu@google.com> | Fri Apr 08 05:35:14 2022 +0800 |
tree | 76fdf80431f77896011c1666f335f7cf838372b4 | |
parent | e0f6939c4c4f1fca1c786948074c4e66e9594553 [diff] |
Fix unexpected Wi-Fi hotspot shutdown - Filter out unnecessary onSwitchChanged callbacks when the switch is disabled, which should not be triggered by user input. - Refine the state handling function to avoid unnecessary onSwitchChanged callback. - Refine the error handling of isHotspotPasswordValid function. Bug: 227719584 Test: manual test make RunSettingsRoboTests \ ROBOTEST_FILTER=WifiTetherSwitchBarControllerTest Change-Id: If62aaadc8ddb214769b1367d7801b6125bb5377c