Merge "Fix monkey crash" into jb-mr2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
61c30fe2d1
@@ -953,7 +953,9 @@ public class WifiSettings extends SettingsPreferenceFragment
|
|||||||
if (button == WifiDialog.BUTTON_FORGET && mSelectedAccessPoint != null) {
|
if (button == WifiDialog.BUTTON_FORGET && mSelectedAccessPoint != null) {
|
||||||
forget();
|
forget();
|
||||||
} else if (button == WifiDialog.BUTTON_SUBMIT) {
|
} else if (button == WifiDialog.BUTTON_SUBMIT) {
|
||||||
submit(mDialog.getController());
|
if (mDialog != null) {
|
||||||
|
submit(mDialog.getController());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user