Merge "Fix monkey crash" into jb-mr2-dev

This commit is contained in:
Irfan Sheriff
2013-03-26 21:17:55 +00:00
committed by Android (Google) Code Review

View File

@@ -953,9 +953,11 @@ public class WifiSettings extends SettingsPreferenceFragment
if (button == WifiDialog.BUTTON_FORGET && mSelectedAccessPoint != null) {
forget();
} else if (button == WifiDialog.BUTTON_SUBMIT) {
if (mDialog != null) {
submit(mDialog.getController());
}
}
}
/* package */ void submit(WifiConfigController configController) {