Fix button visibility on connect

Bug: 5750846
Change-Id: I1f31308a21f7f6876f12eb4f1ab45ecd1bc74092
This commit is contained in:
Irfan Sheriff
2011-12-13 11:55:15 -08:00
parent 71af03eb0b
commit 0c0bd827a1
2 changed files with 4 additions and 1 deletions

View File

@@ -56,6 +56,9 @@ class WifiDialog extends AlertDialog implements WifiConfigUiBase {
setInverseBackgroundForced(true);
mController = new WifiConfigController(this, mView, mAccessPoint, mEdit);
super.onCreate(savedInstanceState);
/* During creation, the submit button can be unavailable to determine
* visibility. Right after creation, update button visibility */
mController.enableSubmitIfAppropriate();
}
@Override