summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/vpn
Commit message (Collapse)AuthorAgeFilesLines
* Fix VPN profile path in settings.Hung-ying Tyan2010-03-091-1/+1
| | | | | | | | http://b/issue?id=2485656 ...and eliminate multiple Settings instances in history stack Change-Id: I076b78781ee7ce458f82e6d9659a94ce64841a0e
* Add L2tpIpsec case in VpnSettings.processSecrets()Hung-ying Tyan2009-10-061-0/+1
|
* Use the new VpnType.getDescriptionId().Hung-ying Tyan2009-09-301-1/+1
|
* Settings: revise VpnSettings.Chia-chi Yeh2009-09-222-75/+56
|
* Fix setting passwd string and vpn checkbox titles.Hung-ying Tyan2009-09-143-11/+4
| | | | | * Add min length requirement in setting passwd string. * Do not change vpn checkbox title with state changes.
* Add install-cert-from-sdcard in Security settingsHung-ying Tyan2009-09-101-1/+1
| | | | | | Also: * Resume keystore states in SecuritySettings.onResume(). * Use action strings defined in CertTool and Keystore.
* Handle two new err codes:Hung-ying Tyan2009-08-281-85/+53
| | | | | | | REMOTE_PPP_HUNG_UP and PPP_NEGOTIATION_FAILED. Also refactor the dialog creation code to directly use the err code as the dialog id and make it easier to tell which type of dialog (reconnect or edit) is invoked for which err code.
* Fix the state machine for CONNECTING/DISCONNECTING states.Hung-ying Tyan2009-08-271-6/+7
|
* Add VPN connection lost dialog.Hung-ying Tyan2009-08-031-6/+19
|
* Add encryption option to PPTP UI.Hung-ying Tyan2009-07-303-6/+118
| | | | | Also add new error dialogs for L2TP challenge error and remote server hanging up error.
* Add error dialog when secrets are missing.Hung-ying Tyan2009-07-291-0/+79
|
* Capitalize the first letter of a VPN name.Hung-ying Tyan2009-07-261-0/+2
|
* Fix secret EditText display and other fixes.Hung-ying Tyan2009-07-255-105/+166
| | | | | | | | | | | | + Now it shows shadowed "(unchanged)" (as in wifi settings) and "(not set)" instead of two dots. Patch Set 2: + Show cancellation confirmation dialog only when there's change in profile. Patch Set 3: + Re-enable profile preferences when the reconnect dialog is cancelled.
* Implement the Back button handler to save a VPN.Hung-ying Tyan2009-07-221-3/+13
|
* Disable suggestion for certain types of text boxes.Hung-ying Tyan2009-07-222-17/+29
| | | | | + Disable suggestion for password, server name and domain suffices. + Use a shorter string to indicate that a secret is set.
* Improve VpnSettings start-up time.Hung-ying Tyan2009-07-182-90/+90
| | | | | | | * Changes + add orientation and keyboard config change in the manifest file. + remove state saving code + improve status checking time by doing it in one server connection.
* Fix VpnSettings.StatusChecker.start()Hung-ying Tyan2009-07-132-4/+5
| | | | to avoid multiple threads checking status at the same time.
* Fix dialog handling.Hung-ying Tyan2009-07-133-98/+148
| | | | | | | | | | | | | | | | | | | * 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.
* Focus the password box when username is saved.Hung-ying Tyan2009-07-091-0/+1
|
* Fix saving secrets to keystore from vpn settings.Hung-ying Tyan2009-07-081-8/+15
|
* String fixes for the credential storage and vpn settings.Hung-ying Tyan2009-07-075-8/+8
| | | | | | | | | | * Changes + Shorten the messages for both set-password and enter-password dialogs when other activities access the credential storage. Patch Set 2: + Fix the capital issue in the vpn error messages. + Add separate strings for terms used in the error messages. + Modify related src files that use those terms.
* Integrate VPN with new keystore and misc fixes.Hung-ying Tyan2009-07-067-52/+176
| | | | | | | | | | | | | * Changes + Pass intent to keystore when needed and hooks to resume from it. + Generate random, unique ID for profile instead of base64 from its name. + Add VPN to "Wirless controls" description. + Add credential storage to "Security & location" description. + More hints to set password and unlock dialogs in credential storage settings for actions that come from other processes. + Sort VPN profiles according to the names. + Replace Keystore with CertTool in L2tpIpsecEditor
* Add credential storage settings.Hung-ying Tyan2009-07-031-0/+2
| | | | | | | | | | * Changes + Initial implementation of credential storage settings. + Use alert icon on delete and reconnect dialogs in VpnSettings. (piggy-backed) Patch Set 12: + Add password length and no-space verification. + Simplify dialog view xml files.
* Add L2tpIpsecPskEditor.Hung-ying Tyan2009-07-012-0/+88
| | | | | | * Changes + Add L2tpIpsecPskEditor.java. + Save profile name in VpnEditor to be used in saveSecrets().
* Add L2TP secret, L2TP/IPSec PSK support. Fix screen orientation.Hung-ying Tyan2009-06-268-255/+471
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Changes + Add L2tpActor, L2tpEditor, L2tpIpsecPskActor. + Make L2tpIpsecEditor extend L2tpEditor. + Revise the code for saving username. Make VpnSettings.saveProfileToStorage() static. + Fix support for screen orientation change in both VpnSettings and VpnEditor. Patch Set 2: + Remove Util.isNullOrEmpty(). Use TextUtils.isEmpty() instead. + Remove unused imports. Wrap lines longer than 80 chars. Patch Set 3: + Fix all the strings according to UI feedback. + Remove all the added actor subclasses and move password to editor. + Remove VPN entry in Security & location. Patch Set 4: + Misc string fixes. Patch Set 5: + Add strings for credential storage settings. + Changed the error dialog icon. + Fix "Remember me" indentation in connect dialog. Patch Set 6: + resolve res/values/strings.xml
* Add save-username checkbox in the connect dialog.Hung-ying Tyan2009-06-203-173/+280
| | | | | | | | | | * 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.
* Use new Keystore APIs in vpn profile editor.Chung-yih Wang2009-06-171-21/+2
|
* Remove SingleServerProfile import.Hung-ying Tyan2009-06-151-1/+0
|
* Remove use of SingleServerProfile.Hung-ying Tyan2009-06-154-127/+98
| | | | | | | | * changes + mv SingleServerEditor.java VpnProfileEditor.java + Add loadExtraPreferecesTo() to VpnProfileEditor + Make L2tpIpsecEditor extend VpnProfileEditor and use loadExtraPreferencesTo() + Modify VpnEditor.getEditor() accordingly
* Remove isCustomized() check as the API is not used for now.Hung-ying Tyan2009-06-152-6/+2
|
* Add VPN settings classes to Settings app.Hung-ying Tyan2009-06-129-0/+1621
PATCH SET 2: + Add import com.android.settings.R PATCH SET 3: + Remove @Override interface methods to be compilable by Java 1.5. PATCH SET 4: + Add import android.net.vpn.VpnManager PATCH SET 5: + Add license headers. PATCH SET 6: + Remove Constant.java and move the constants to VpnSettings. + Make AuthenticationActor implement DialogInterface's handlers. + Remove trailing spaces. PATCH SET 7: + Remove default username.