[Wi-Fi DPP] Improve Wi-Fi QR code error messages
Give all failures of Wi-Fi QR code format or data problem with a correct error message. Bug: 134033509 Test: manual visual Change-Id: I5259d0d68e47d00a69e3e8107697605f3f187203
This commit is contained in:
@@ -101,7 +101,7 @@ public class WifiDppAddDeviceFragment extends WifiDppQrCodeBaseFragment {
|
||||
private void showErrorUi(int code, boolean isConfigurationChange) {
|
||||
switch (code) {
|
||||
case EasyConnectStatusCallback.EASY_CONNECT_EVENT_FAILURE_INVALID_URI:
|
||||
mSummary.setText(R.string.wifi_dpp_could_not_detect_valid_qr_code);
|
||||
mSummary.setText(R.string.wifi_dpp_qr_code_is_not_valid_format);
|
||||
break;
|
||||
|
||||
case EasyConnectStatusCallback.EASY_CONNECT_EVENT_FAILURE_AUTHENTICATION:
|
||||
|
Reference in New Issue
Block a user