- Keep the Save button enabled at all times
- Show "*required" or "The password is invalid" to remind the user
- Show "Password (optional)" to indicate that it can remain unchanged, when modifying Wi-Fi configuration
Bug: 386897596
Bug: 402694144
Flag: EXEMPT bugfix
Test: Manual testing
atest SettingsUnitTests:AddNetworkFragmentTest
atest WifiConfigControllerTest \
WifiConfigController2Test \
WifiDialogActivityTest
Change-Id: I09b7684674ff376139565fcc196cde8d8d20a864
- Keep the Save button enabled at all times
- Show "*required" or "The password is invalid" to remind the user
Bug: 386897596
Flag: EXEMPT bugfix
Test: Manual testing
atest WifiConfigControllerTest
Change-Id: I442d2f958efd85f3c92309d0bed7cd3aa9ec9876
- Follow the Required text indicator in the Google Material 3 guidelines
Bug: 401956268
Flag: EXEMPT refactor
Test: Manual testing
Change-Id: Ifeb1b882b34151ebef18edc32e7f2a3c116921c2
- Show "(required)" and errors in required fields to alert users
- Show "(optional)" below each optional field
Bug: 386025633
Flag: EXEMPT bugfix
Test: Manual testing
atest WifiConfigController2Test
Change-Id: Iefbd68e6658af7b073db219b3e04e94805092759
- Keep the Save button enabled at all times
- Show "Enter the SSID" to remind the user
Bug: 386897596
Flag: EXEMPT bugfix
Test: Manual testing
atest WifiDialogActivityTest \
WifiConfigControllerTest
Change-Id: I577e78c34cbaa0640479adf09a916a526500fe68
- Keep the Save button enabled at all times
- Show "Enter the SSID" to remind the user
Bug: 386897596
Flag: EXEMPT bugfix
Test: Manual testing
atest SettingsUnitTests:AddNetworkFragmentTest
atest WifiConfigController2Test
Change-Id: I6cc6b197864511ee2c1c92affc67698b1761f11d
- The original Wi-Fi switch metrics is recorded by WifiEnabler.
- Since the design of Catalyst removes WifiEnabler, the metrics needs to be added to Catalyst preference.
NO_IFTTT=Catalyst only
Bug: 388547699
Flag: EXEMPT bugfix
Test: Manual testing
atest -c WifiSwitchPreferenceTest
Change-Id: I8819e8f660784b8b04c7958b65f4792b5d4d0919
- Use application context to get system services to avoid memory leaks
NO_IFTTT=Catalyst only
Bug: 385116691
Flag: EXEMPT bugfix
Test: Manual testing
atest -c WifiHotspotSwitchPreferenceTest \
WifiSwitchPreferenceTest
Change-Id: I4340136d8d0118801ef450809424127f84afbb92