OSDN Git Service

Add save-username checkbox in the connect dialog.
authorHung-ying Tyan <tyanh@google.com>
Mon, 15 Jun 2009 12:24:38 +0000 (20:24 +0800)
committerHung-ying Tyan <tyanh@google.com>
Sat, 20 Jun 2009 03:36:16 +0000 (11:36 +0800)
commitd22da2096bd738346be5e24eb964ae34d60fcd5e
tree2857535ba5d7de16a5c6017099392d765127bd36
parent4226b0af53a8f300b347836199bd03018489d192
Add save-username checkbox in the connect dialog.

* changes
  + Add checkbox to layout file and handling code in related classes.
  + Add new methods to VpnProfileActor.
  + Move dialog handling to VpnSettings from AuthenticatorActor in order
    to support screen orientation change.
  + Hide "Connect" in the context menu if the profile is connecting.
  + Enable connecting profile in case it was disabled in last call.
res/layout/vpn_connect_dialog_view.xml
res/values/strings.xml
src/com/android/settings/vpn/AuthenticationActor.java
src/com/android/settings/vpn/VpnProfileActor.java
src/com/android/settings/vpn/VpnSettings.java