Fix dialog handling.

* Changes
  + VpnSettings:
    + Add reconnect dialog to showDialog() framework for handling screen
      rotation.
    + Dismiss other alert dialogs in onDestroy()
    + Remove onPrepareDialog() from VpnSettings.
    + Remove updateConnectDialog() from VpnProfileActor.
    + Add authentication error dialog.
    + Add unknown server dialog.
  + SecuritySettings:
    + Make cstor dialogs cancelable.
    + Add cancelable listener.
  Patch Set 6:
  + VpnSettings:
    + Disable preferences when connecting/disconnecting.
    + Fix state broadcast when binding a VpnService goes wrong.
This commit is contained in:
Hung-ying Tyan
2009-07-11 22:28:00 +08:00
parent a5cead2cf7
commit 1ddccd07f7
5 changed files with 166 additions and 111 deletions

View File

@@ -37,12 +37,6 @@ public interface VpnProfileActor {
*/
View createConnectView();
/**
* Updates the view in the connect dialog.
* @param dialog the recycled connect dialog.
*/
void updateConnectView(Dialog dialog);
/**
* Validates the inputs in the dialog.
* @param dialog the connect dialog