am e02f206e: Focus the password box when username is saved.

Merge commit 'e02f206e1161fc2d332db60395e74cca397ffa27'

* commit 'e02f206e1161fc2d332db60395e74cca397ffa27':
  Focus the password box when username is saved.
This commit is contained in:
Hung-ying Tyan
2009-07-09 12:49:33 -07:00
committed by The Android Open Source Project

View File

@@ -204,6 +204,7 @@ public class AuthenticationActor implements VpnProfileActor {
usernameView.setText(username);
passwordView.setText(password);
saveUsername.setChecked(toSaveUsername);
if (toSaveUsername) passwordView.requestFocus();
}
private void broadcastConnectivity(VpnState s) {