Merge "Settings crashes on opening Wi-Fi Add network"

This commit is contained in:
TreeHugger Robot
2018-07-30 16:18:12 +00:00
committed by Android (Google) Code Review
3 changed files with 21 additions and 5 deletions

View File

@@ -50,12 +50,12 @@ public class WifiDialog extends AlertDialog implements WifiConfigUiBase,
private WifiConfigController mController;
private boolean mHideSubmitButton;
// TODO(b/111875856) WifiDialog should not mimic full screen UI.
/** Creates a WifiDialog with fullscreen style. It displays in fullscreen mode. */
public static WifiDialog createFullscreen(Context context, WifiDialogListener listener,
AccessPoint accessPoint, int mode) {
return new WifiDialog(context, listener, accessPoint, mode,
R.style.Theme_Settings_NoActionBar, false /* hideSubmitButton */);
R.style.Theme_Settings_WifiDialogFullScreen, false /* hideSubmitButton */);
}
/**