Merge "Fix opening secured networks from QS" into mnc-dev

This commit is contained in:
Jason Monk
2015-06-18 19:19:08 +00:00
committed by Android (Google) Code Review

View File

@@ -116,7 +116,7 @@ public class AccessPointControllerImpl
// Unknown network, need to add it.
if (ap.getSecurity() != AccessPoint.SECURITY_NONE) {
Intent intent = new Intent(Settings.ACTION_WIFI_SETTINGS);
intent.putExtra(EXTRA_START_CONNECT_SSID, ap.getSsid());
intent.putExtra(EXTRA_START_CONNECT_SSID, ap.getSsidStr());
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
fireSettingsIntentCallback(intent);
return true;