Revert submission 30767017-aapm-dialog-api-feedback
Reason for revert: Droidmonitor created revert due to b/384828570. Will be verifying through ABTD before submission.
Reverted changes: /q/submissionid:30767017-aapm-dialog-api-feedback
Change-Id: Ibf26aca2453f2007370974290f5c16d6b091341e
To make sure this flow is never empty, use unknown as default.
Fix: 383050153
Flag: EXEMPT bug fix
Test: manual - on Network & internet
Test: unit test
Change-Id: Iaa421749ab917ebc651a95ccdf1a4ab1cb9ba112
- 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
This change also updates ActionDisabledByAdminDialog because the
AdvancedProtectionManager#createSupportIntent method is now static.
Bug: 378968840
Bug: 352420507
Test: ActionDisabledByAdminDialogTest
Test: WepNetworksPreferenceControllerTest
Test: manual
Flag: android.security.aapm_api
Change-Id: I8443742aadead45091fee757cbdf715d28eee495
Toggle is restricted, and trying to connect shows an error
Bug: 352420507
Change-Id: If20bf030d1c0aba55dac135a9f5f51e9a4255596
Test: Manually. Automated tests to follow
Flag: com.android.wifi.flags.wep_disabled_in_apm
Remove all pending messages when the fragment has destroyed.
Otherwise, after fragment disattachs its context, an exception
will be reported when process the messages.
Bug:377166756
Change-Id: I333cedb45c0fe43b81abbfbe19e37f42f98def91
Signed-off-by: dingfeisong <dingfeisong@xiaomi.corp-partner.google.com>
- Use local variables to filter inappropriate callbacks when the switch is busy
Bug: 374234537
Flag: EXEMPT bugfix
Test: Manual testing
atest -c WifiTetherSwitchBarControllerTest
Change-Id: If5237230c73cae5a6230a6d3fdaa65a8511bdcd8
- Since there is no password for Wi-Fi security in OPEN and OWE, try to connect to one of them
Bug: 360377330
Flag: EXEMPT bugfix
Test: Manual testing
atest -c WifiDppQrCodeScannerFragmentTest
Change-Id: Ia0a59e099b724170ad993df8b4246b94e0da392c
When failure occurs after scanning wifi QR code, only "Check connection
and try again" will show, which is confusing for user to understand the
errors and take next action.
Add more string resources to cover different errors.
Co-authored-by: Yufan Cao <Yufan.Cao@sony.com>
Flag: EXEMPT bugfix
Test: manual test
Bug: 362305039
Change-Id: I85145eb67eecdc3aa06bb7b8a7b3e7f0ffea1f62
Hotspot security is auto-downgraded from WPA3->Transition mode if the
band is changed from 6Ghz -> 2.4/5GHz. However, Transition mode requires
a password of 8 chars or more, but WPA3 SAE does not. Avoid changing the
security type if the current password is less than 8 chars.
Flag: EXEMPT minor bugfix
Bug: 366452667
Test: atest WifiHotspotRepositoryTest
Change-Id: I1abadd59966e170b51899782746b9f14e33e6186
- If uri is empty it will cause ActivityNotFoundException when calling startActivity
Bug: 363782926
Flag: EXEMPT bugfix
Test: Manual testing
atest -c WifiDetailPreferenceController2Test
Change-Id: I48b9a53afe08a7c5e8e512c1961d6aea22a12a21
- When Wi-Fi details are restricted for secondary users, UI components will be removed to prevent user interaction
- The UI update function may not obtain the expected resources, causing NPE issues
Bug: 362151753
Flag: EXEMPT bugfix
Test: Manual testing
atest -c WifiNetworkDetailsFragmentTest
Change-Id: Ia97b4e202faff85ced0b6eaf2e4b4f0dc04b5cef