Commit Graph

140 Commits

Author SHA1 Message Date
Android (Google) Code Review
7402052ab8 am 86637edf: Merge change 8183 into donut
Merge commit '86637edfa2df69016afcabbfc581c00a16041745'

* commit '86637edfa2df69016afcabbfc581c00a16041745':
  Improve UX of adding credential...
2009-07-22 16:09:09 -07:00
Hung-ying Tyan
d8858c3ee1 Improve UX of adding credential...
with more toast messages and fix dialog handling when needs another
dialog to initialize or enable the credential storage.
2009-07-23 06:41:15 +08:00
Hung-ying Tyan
41b5321e8b am 241610e9: Add password error hint when adding new cert.
Merge commit '241610e986a8d2823f519762737903779089c253'

* commit '241610e986a8d2823f519762737903779089c253':
  Add password error hint when adding new cert.
2009-07-21 07:12:23 -07:00
Hung-ying Tyan
241610e986 Add password error hint when adding new cert. 2009-07-21 09:45:08 +08:00
Android (Google) Code Review
2fab4ab09c am 6b1b36a8: Merge change 7687 into donut
Merge commit '6b1b36a832943126d19a21dcadda11cc75c3a9b6'

* commit '6b1b36a832943126d19a21dcadda11cc75c3a9b6':
  Add UI to handle PKCS12 cert.
2009-07-17 15:43:07 -07:00
Hung-ying Tyan
38a44f2445 Add UI to handle PKCS12 cert. 2009-07-17 20:58:06 +08:00
Hung-ying Tyan
aae9398a31 am c3eaaad1: Fix "use secure credential" checkbox in Settings.
Merge commit 'c3eaaad17ebe9a2cbe34b096511c8f06369dadd1'

* commit 'c3eaaad17ebe9a2cbe34b096511c8f06369dadd1':
  Fix "use secure credential" checkbox in Settings.
2009-07-16 09:55:11 -07:00
Hung-ying Tyan
c3eaaad17e Fix "use secure credential" checkbox in Settings.
Uncheck the checkbox if the user cancels the password-entering dialog.
2009-07-16 23:19:38 +08:00
Amith Yamasani
5541e98406 am 5c30845c: Fix #1930767 : "Share with Google" not working on orientation change.
Merge commit '5c30845cf310a5d8c2de3e9ac809c97f736a9513'

* commit '5c30845cf310a5d8c2de3e9ac809c97f736a9513':
  Fix #1930767 : "Share with Google" not working on orientation change.
2009-07-13 16:59:36 -07:00
Amith Yamasani
5c30845cf3 Fix #1930767 : "Share with Google" not working on orientation change.
Discard the dialog after onSaveInstanceState. And check the different
onCreate scenarios before popping up the dialog.
2009-07-13 15:09:46 -07:00
Hung-ying Tyan
15384ee22a am 1ddccd07: Fix dialog handling.
Merge commit '1ddccd07f744344b5248dd5418ee526f26d520dc'

* commit '1ddccd07f744344b5248dd5418ee526f26d520dc':
  Fix dialog handling.
2009-07-12 23:44:38 -07:00
Hung-ying Tyan
1ddccd07f7 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.
2009-07-13 12:14:32 +08:00
Hung-ying Tyan
971b79e306 am 66959341: Fix behavior of cancelling the name cred. dialog.
Merge commit '66959341a6b0891893d4c851be708c3073f61154'

* commit '66959341a6b0891893d4c851be708c3073f61154':
  Fix behavior of cancelling the name cred. dialog.
2009-07-09 12:49:23 -07:00
Hung-ying Tyan
66959341a6 Fix behavior of cancelling the name cred. dialog.
The code used to trying to store the credential even when the user
cancels the dialog. Fixed in this CL.
2009-07-09 11:51:06 +08:00
Hung-ying Tyan
7888cc450a am 0a59b500: Integrate VPN with new keystore and misc fixes.
Merge commit '0a59b500147cc038541f6f2897de7e28c15a12c1'

* commit '0a59b500147cc038541f6f2897de7e28c15a12c1':
  Integrate VPN with new keystore and misc fixes.
2009-07-06 11:22:33 -07:00
Hung-ying Tyan
acedb4b501 am 4e45d392: Add certificate to keystore for the ADD intent
Merge commit '4e45d392ada4e84fbeed06874caebfd3c7759073'

* commit '4e45d392ada4e84fbeed06874caebfd3c7759073':
  Add certificate to keystore for the ADD intent
2009-07-06 11:22:15 -07:00
Hung-ying Tyan
902a297d92 am 7031ab0d: Add credential storage settings.
Merge commit '7031ab0d756327496ac3ce1e082b53c94be2f3b1'

* commit '7031ab0d756327496ac3ce1e082b53c94be2f3b1':
  Add credential storage settings.
2009-07-06 11:21:57 -07:00
Hung-ying Tyan
0a59b50014 Integrate VPN with new keystore and misc fixes.
* 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
2009-07-06 18:47:47 +08:00
Hung-ying Tyan
4e45d392ad Add certificate to keystore for the ADD intent 2009-07-05 10:37:55 +08:00
Hung-ying Tyan
7031ab0d75 Add credential storage settings.
* 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.
2009-07-03 23:00:53 +08:00
Hung-ying Tyan
776be77313 am e7565f3c: Add L2TP secret, L2TP/IPSec PSK support. Fix screen orientation.
Merge commit 'e7565f3c48e6c90e65d9c15e33d20673a187c156'

* commit 'e7565f3c48e6c90e65d9c15e33d20673a187c156':
  Add L2TP secret, L2TP/IPSec PSK support. Fix screen orientation.
2009-06-26 01:07:01 -07:00
Hung-ying Tyan
e7565f3c48 Add L2TP secret, L2TP/IPSec PSK support. Fix screen orientation.
* 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
2009-06-26 14:24:50 +08:00
Chouting Zhang
620965ccc5 am 386278a3: CDMA Settings additions
Merge commit '386278a338d740dce95b7fa1514662b0eb5683e4'

* commit '386278a338d740dce95b7fa1514662b0eb5683e4':
  CDMA Settings additions
2009-06-25 22:06:36 -07:00
Chouting Zhang
386278a338 CDMA Settings additions
This patch implement CDMA Settings features
1. Add code to get MEID, MIN, and PRL value if the phone is a CDMA Phone
2. Display MEID, MIN, and PRL on Settings screen if it is a CDMA phone
3. Do not display IMSI, IMEI, and IMEI SV for a CDMA phone
2009-06-25 22:01:32 -07:00
Mike Lockwood
d75fb2f92f Settings: Add preference to enable/disable assisted GPS.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-06-25 17:16:10 -04:00
Amith Yamasani
41b6daa692 Use new location of USE_LOCATION_FOR_SERVICES setting (Secure).
Due to the need to access the bit from SetupWizard, had to move
the setting to Settings.Secure from Settings.Gservices.
2009-06-19 12:42:10 -07:00
Amith Yamasani
f06d8698a4 Add setting for allowing Google to use location for better search results. 2009-06-16 22:02:06 -07:00
Hung-ying Tyan
71e2d3bc3a Remove LAUNCHER category from VPN settings activity's intent filter.
Also add preference summary to the VPN entry in the security settings.
2009-06-14 17:53:19 +08:00
Hung-ying Tyan
1617706d25 Add VPN settings classes to Settings app.
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.
2009-06-12 15:44:49 +08:00
Mike Lockwood
5ed2c4ad43 Listen for changes to location pProvider enabled settings.
This is needed so we can correctly update the network location checkbox
if the network location provider is disabled because the user disagreed
to the terms of service in a dialog shown by the provider.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-06-08 08:21:12 -04:00
Mike Lockwood
d13308674b Remove Network Location" opt-in dialog from "Security and Settings"
This dialog is being moved to the Network Location Provider itself.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-06-07 20:11:39 -04:00
Mike Lockwood
074149da80 AI 144372: Cleanup Settings support for enabling and disabling location providers:
LocationManagerService now listens for changes to settings,
  making LocationManager.updateProviders() unnecessary.
  Removed LocationManager.updateProviders()
  Added Settings.Secure.setLocationProviderEnabled(), which is a thread-safe way
  of enabling or disabling a single location provider.
  This is safer than reading, modifying and writing the LOCATION_PROVIDERS_ALLOWED directly.
  BUG=1729031

Automated import of CL 144372
2009-04-02 21:41:57 -07:00
Amith Yamasani
4bfdcd3e5f AI 144257: am: CL 144256 Need to show opt-in screen for location collection.
Added a screen to the setup wizard, after login, to ask user to
  opt-in for location collection.
  Added a dialog to Settings when user turns on Network location.
  Fixed a security permission issue in LocationManagerService related
  to this change.
  Original author: yamasani
  Merged from: //branches/cupcake/...

Automated import of CL 144257
2009-04-02 11:40:25 -07:00
Wink Saville
f9e024198d AI 144185: Integrate cdma into the main code base.
Automated import of CL 144185
2009-04-02 01:37:03 -07:00
The Android Open Source Project
72ed6feab2 auto import from //branches/cupcake_rel/...@138607 2009-03-13 13:04:25 -07:00
The Android Open Source Project
afc4ab2ffb auto import from //depot/cupcake/@135843 2009-03-03 19:32:34 -08:00
The Android Open Source Project
4e14e5ccbf auto import from //depot/cupcake/@135843 2009-03-03 18:28:52 -08:00
The Android Open Source Project
4772968987 auto import from //branches/cupcake/...@132276 2009-02-19 10:57:36 -08:00
The Android Open Source Project
abc48f80d8 Code drop from //branches/cupcake/...@124589 2008-12-17 18:06:01 -08:00
The Android Open Source Project
de2d9f5f10 Initial Contribution 2008-10-21 07:00:00 -07:00