Commit Graph

200 Commits

Author SHA1 Message Date
Jean-Michel Trivi
00d4fbfc42 In the TTS settings: rely on the default locale rather than default
values stored in TextToSpeech.Engine to initialize the default TTS
country and variant.
2009-07-07 17:08:32 -07:00
Android (Google) Code Review
c4a3bf94cc Merge change 6345 into donut
* changes:
  Add header 'blob://' in front of the cert/key names in wpa_supplicant.conf.
2009-07-07 07:07:17 -07:00
Chung-yih Wang
242096832b Add header 'blob://' in front of the cert/key names in wpa_supplicant.conf.
1. This addition is from CL 6082 change in wpa_supplicant.
2. Fix the empty password pop-up for EAP.
2009-07-07 21:58:13 +08:00
Android (Google) Code Review
423ab2eb9d Merge change 6328 into donut
* changes:
  String fixes for the credential storage and vpn settings.
2009-07-06 20:44:44 -07:00
Hung-ying Tyan
33ababd1bd String fixes for the credential storage and vpn settings.
* 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.
2009-07-07 11:37:54 +08:00
Android (Google) Code Review
879f7bcf41 Merge change 6272 into donut
* changes:
  Fix bug 1946195 by making use of the current Locale to set a default value in the language pref list (bug was no selection in the default language list). Fix half of bug 1956707 where speech rate value as read from the settings was translated to a ratio, which applied an improper speech rate on the TTS engine (bug was setting a default rate makes the TTS demo unintelligible). Moved logic to set the default value in the language pref list in a separate private method to improve readability. Changed default rate values so that normal is 1x and the fastest is 2x.
2009-07-06 17:03:03 -07:00
Jean-Michel Trivi
44fbbea071 Fix bug 1946195 by making use of the current Locale to set a default value
in the language pref list (bug was no selection in the default language list).
Fix half of bug 1956707 where speech rate value as read from the settings
was translated to a ratio, which applied an improper speech rate on the
TTS engine (bug was setting a default rate makes the TTS demo unintelligible).
Moved logic to set the default value in the language pref list in a separate
private method to improve readability.
Changed default rate values so that normal is 1x and the fastest is 2x.
2009-07-06 14:16:17 -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
Chung-yih Wang
eb7836f11e Apply the new keystore and certtool library in Wifi setting.
1. Certificate related APIs were moved to CertTool. Therefore,
   we have to migrate to CertTool instead.
2. Unlock the keystore if it is not unlocked yet(send the intent
   out to credential storage) for EAP access points.
3. Add Password field for WPA_EAP and IEEE8021X(this is for
   phase 2 auth.)
2009-07-06 17:03:53 +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
d40b9c5dff Add UNLOCK_CREDENTIAL_STORAGE and ADD_CREDENTIAL
Add UNLOCK_CREDENTIAL_STORAGE and ADD_CREDENTIAL intents to manifest.
2009-07-04 10:16:07 +08:00
Hung-ying Tyan
6a0544be5c Fix strings.
* Changes
  + "Disconnect from network"
  + "Remember username"
  + "Unable to connect to the network"
2009-07-04 00:39:58 +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
Michael Chan
132b21440b Disable the individual remote Bluetooth devices when BT is off 2009-07-01 14:06:43 -07:00
Hung-ying Tyan
e5b9e4bddf Add L2tpIpsecPskEditor.
* Changes
  + Add L2tpIpsecPskEditor.java.
  + Save profile name in VpnEditor to be used in saveSecrets().
2009-07-01 11:06:45 +08:00
Jean-Michel Trivi
88ec7ebfe9 Fix bug 1943785 where the default country string could be accessed while
still being null. This was due to Settings.Secure.getString() returning
null when a property isn't found, instead of a string with the value "null".
2009-06-30 15:14:30 -07:00
Ken Shirriff
311356dd71 Redo power widget layout with the proper widget style.
The power widget now uses the fuzzy-edged widget background.
It has a resonable layout in portrait and landscape.
appwidget_inner is the background for a button on the inside, with a border on the left.
appwidget_outer is the background for a button on the outside (i.e. leftmost); it
does not have a border.
2009-06-29 16:43:23 -07:00
Dianne Hackborn
116d85eaa7 Clean up some of the intent filters in the manifest. 2009-06-26 18:20:23 -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
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
Roy West
d2e3b01390 Edit second line of Search settings. First part of fix to bug1928620. 2009-06-25 13:40:28 -07:00
Android (Google) Code Review
02062f44ff Merge change 5391 into donut
* changes:
  Fix an NPE.
2009-06-25 12:38:11 -07:00
Amith Yamasani
1fd2958ad4 Fix an NPE.
Sometimes name is null, compare the other way around.
2009-06-25 12:27:21 -07:00
Android (Google) Code Review
517ce789b4 Merge change 5374 into donut
* changes:
  Remove pitch selection from TTS settings. Use the settings name for the locale property rather than the UI key. Add prefs entry to install the voice data.
2009-06-25 12:18:54 -07:00
Mike Lockwood
b7e46e89d7 Display a warning dialog when the user enables USB debugging.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-06-25 13:36:00 -04:00
Jean-Michel Trivi
2acc02e942 Remove pitch selection from TTS settings.
Use the settings name for the locale property rather than the UI key.
Add prefs entry to install the voice data.
2009-06-25 10:03:43 -07:00
Amith Yamasani
0f1e11e219 Track native processes.
Add gauge to detail screen and make it look like the item from summary screen.
Some string changes.
2009-06-25 00:40:50 -07:00
Dianne Hackborn
a54672f3a9 Some cleanup of settings launching, adding shortcuts.
- Move the battery usage item from applications to phone info.
- Give the battery usage item a summary.
- Fiddle with the manifest to make it so we can launch parts of the settings
  app without messing up launching of the main app.  (That is, remove
  affinities so they each are treated as different tasks.)
- Add the ability to make shortcuts to some key settings panels.
2009-06-24 20:13:16 -07:00
Roy West
74b53da253 Additional edits to strings when uninstalling system app updates.
Fixes bug 1940257.
2009-06-24 09:25:12 -07:00
Amith Yamasani
972fc2989a Description and suggestion strings for Battery Usage detail screens. 2009-06-23 17:43:22 -07:00
Roy West
4b007cb732 Fix bug 1937431.
Shorten cut-off location permission string.
2009-06-23 16:53:37 -07:00
Roy West
518d02caa9 First part of fix to bug 1813461, changing "Factory reset" to "Uninstall updates" 2009-06-23 14:02:50 -07:00
Jean-Michel Trivi
1e6a45a2d0 Updated TTS settings to support language, country and variant settings.
Disable/enable entries based on whether language files are installed on the phone.
Added entry to install the language files on the phone.
2009-06-23 13:17:13 -07:00
Roy West
db33eb01cd Use sentence style for "System tutorial"
Bug 1742121
2009-06-22 11:26:59 -07:00
Hung-ying Tyan
d22da2096b 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.
2009-06-20 11:36:16 +08:00
Android (Google) Code Review
4226b0af53 Merge change 4797 into donut
* changes:
  Use new location of USE_LOCATION_FOR_SERVICES setting (Secure).
2009-06-19 13:09:26 -07: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
Jean-Michel Trivi
74e565d85d Update the Text-To-Speech settings screen to allow listening to a TTS
example after checking that the data required by the TTS engine is
properly installed.
Removed use of local constants for the the default TTS values, use
the values defined in TextToSpeech.Engine instead.
2009-06-18 18:54:02 -07:00
Amith Yamasani
dd14ee3d16 Remove extra subtitle for legal preferences.
Fixes #1894381
2009-06-17 16:57:30 -07:00
Amith Yamasani
2fb22c03bd Fixed auto-uncap of Wifi status messages.
Fixes #1852765. Change strings to lowercase and capitalize on demand.
2009-06-17 12:12:51 -07:00
Android (Google) Code Review
f11d7458ea Merge change 4378 into donut
* changes:
  Make the Quick Launch settings show localized application names.
2009-06-17 10:08:23 -07:00
Chung-yih Wang
19e134e494 Use new Keystore APIs in vpn profile editor. 2009-06-17 18:36:13 +08:00
Chung-yih Wang
b2f1c334de Simply the EAP certificate selection in Wifi Setting.
-- use the new keystore APU to save one more selection in WiFi EAP setting.
2009-06-17 15:46:42 +08:00
Amith Yamasani
f06d8698a4 Add setting for allowing Google to use location for better search results. 2009-06-16 22:02:06 -07:00
Roy West
14fa2b9986 Another edit, now in two places, now that I understand the workflow of resetting the flow a bit better. 2009-06-16 14:07:55 -07:00
Eric Fischer
ec598cb91c Make the Quick Launch settings show localized application names.
It looks like when you look up the name of an application bookmark,
you get the name in whatever locale the device was in when it first
booted.  Check the PackageManager to get a name in the current locale,
if possible, to display instead.
2009-06-16 13:31:22 -07:00
Roy West
68e175cba2 String change to fix bug 1838792. 2009-06-15 14:40:17 -07:00
Android (Google) Code Review
a78edb5418 Merge change 4127 into donut
* changes:
  Make the SD Card settings use the system file size formatter.
2009-06-15 10:09:41 -07:00
Hung-ying Tyan
ff393bf90b Remove SingleServerProfile import. 2009-06-15 19:37:38 +08:00
Hung-ying Tyan
84cfb0dc9b Remove use of SingleServerProfile.
* changes
  + mv SingleServerEditor.java VpnProfileEditor.java
  + Add loadExtraPreferecesTo() to VpnProfileEditor
  + Make L2tpIpsecEditor extend VpnProfileEditor and use loadExtraPreferencesTo()
  + Modify VpnEditor.getEditor() accordingly
2009-06-15 12:58:58 +08:00