Use different text in unsecured network.
We don't show any config UI when network is unsecured, while Previously we've shown "Enter network configuration" anyway. Also stop showing network status on StatusText (above AccessPoint). New network status often appears and instructions are removed unexpectedly. Bug: 3175016 Change-Id: I3aa288930a8643e178f7c3897b326b7e00964361
This commit is contained in:
@@ -2984,6 +2984,10 @@ found in the list of installed applications.</string>
|
||||
networks and the UI is showing one possible existing network.
|
||||
Used in Wifi Setup. -->
|
||||
<string name="wifi_setup_status_existing_network">Connect to existing network</string>
|
||||
<!-- Message shown above available networks when a user clicked one of available
|
||||
networks and the network doesn't require configuration (e.g. password)
|
||||
Used in Wifi Setup with XL screen. [CHAR LIMIT=35] -->
|
||||
<string name="wifi_setup_status_unsecured_network">Connect to unsecured network</string>
|
||||
<!-- Message shown above available networks when a user clicked one of available
|
||||
networks and the UI is prompting the user to edit the network configuration
|
||||
if needed. Used in Wifi Setup with XL screen. [CHAR LIMIT=35] -->
|
||||
|
@@ -265,7 +265,6 @@ public class WifiSettingsForSetupWizardXL extends Activity implements OnClickLis
|
||||
mProgressBar.setIndeterminate(false);
|
||||
mProgressBar.setProgress(0);
|
||||
|
||||
mStatusText.setText(stateString);
|
||||
mProgressText.setText(stateString);
|
||||
|
||||
mAddNetworkButton.setEnabled(true);
|
||||
@@ -322,7 +321,11 @@ public class WifiSettingsForSetupWizardXL extends Activity implements OnClickLis
|
||||
}
|
||||
// parent.addView(view);
|
||||
|
||||
mStatusText.setText(R.string.wifi_setup_status_edit_network);
|
||||
if (selectedAccessPoint.security == AccessPoint.SECURITY_NONE) {
|
||||
mStatusText.setText(R.string.wifi_setup_status_unsecured_network);
|
||||
} else {
|
||||
mStatusText.setText(R.string.wifi_setup_status_edit_network);
|
||||
}
|
||||
mAddNetworkButton.setVisibility(View.GONE);
|
||||
mRefreshButton.setVisibility(View.GONE);
|
||||
mSkipOrNextButton.setVisibility(View.GONE);
|
||||
|
Reference in New Issue
Block a user