Filter out unsupported security type for DPP configuration.
There is different Wi-Fi security support between ZXing's Wi-Fi QR code format and Wi-Fi DPP QR code format. ZXing's Wi-Fi QR code format: supports WEP / WPA / none security Wi-Fi DPP: supports WPA / SAE So we will have different UI behavior for different security. WEP & none security: only support QR code generator WPA: supports both QR code generator & scanner SAE: only supports QR code scanner others: don't support. The share button is invisible Bug: 123212410 Test: manual test Change-Id: I87962d730282fc2c1b96223dca6feb79235fe5a1
This commit is contained in:
@@ -152,7 +152,7 @@ public class WifiNetworkDetailsFragment extends DashboardFragment {
|
||||
|
||||
if (requestCode == REQUEST_CODE_CONFIRM_DEVICE_CREDENTIALS
|
||||
&& resultCode == Activity.RESULT_OK) {
|
||||
mWifiDetailPreferenceController.launchQRCodeGenerator();
|
||||
mWifiDetailPreferenceController.launchWifiDppConfiguratorActivity();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user