OSDN Git Service

android-x86/packages-apps-Settings.git
14 years agomerge from donut
Jean-Baptiste Queru [Thu, 3 Sep 2009 21:13:16 +0000 (14:13 -0700)]
merge from donut

14 years agoFix grammar in unknown sources dialog. issue 1938
Joe LaPenna [Fri, 24 Jul 2009 01:46:47 +0000 (18:46 -0700)]
Fix grammar in unknown sources dialog. issue 1938

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Thu, 20 Aug 2009 21:08:19 +0000 (14:08 -0700)]
Import revised translations.  DO NOT MERGE

14 years agoCreate a shared preference setting and use it before loading/unloading cache
Suchi Amalapurapu [Wed, 19 Aug 2009 02:32:06 +0000 (19:32 -0700)]
Create a shared preference setting and use it before loading/unloading cache
and disable cache if file operations failed in the last launch.
A simple if check when reading buffer size from file

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Tue, 18 Aug 2009 18:19:42 +0000 (11:19 -0700)]
Import revised translations.  DO NOT MERGE

14 years agocut number of frames in lock screen demo animation from 15 to 8
Doug Zongker [Tue, 18 Aug 2009 17:02:33 +0000 (10:02 -0700)]
cut number of frames in lock screen demo animation from 15 to 8

This trims about 108k out of the settings app, and the animation is
still acceptable.

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Mon, 17 Aug 2009 20:15:56 +0000 (13:15 -0700)]
Import revised translations.  DO NOT MERGE

14 years agoscreenOrientation written as content instead of attribute by mistake
Shachar Shemesh [Mon, 17 Aug 2009 05:37:29 +0000 (08:37 +0300)]
screenOrientation written as content instead of attribute by mistake

14 years agoMerge change 7060 into donut
Android (Google) Code Review [Thu, 13 Aug 2009 07:03:43 +0000 (00:03 -0700)]
Merge change 7060 into donut

* changes:
  1. Added the missing timezone for mainland China "Asia/Shanghai". In each localized version of timezones.xml, the name of this timezone is defined like "China Standard Time (Beijing)" if some other timezones are also in this format, or just "Beijing" if all of other timezones are of city names.

14 years agoFix bug 2045197.
Jean-Michel Trivi [Tue, 11 Aug 2009 16:06:58 +0000 (09:06 -0700)]
Fix bug 2045197.
The TTS settings activity uses the default TTS stream type. Associate
the volume control of this stream type with the volume control buttons.

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Tue, 11 Aug 2009 00:57:14 +0000 (17:57 -0700)]
Import revised translations.  DO NOT MERGE

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Mon, 10 Aug 2009 17:48:54 +0000 (10:48 -0700)]
Import revised translations.  DO NOT MERGE

14 years agoAdopt new AppWidget assets, per http://b/2038594.
Jeff Sharkey [Fri, 7 Aug 2009 05:05:49 +0000 (22:05 -0700)]
Adopt new AppWidget assets, per http://b/2038594.

14 years agomerge from donut
Jean-Baptiste Queru [Mon, 3 Aug 2009 14:45:47 +0000 (07:45 -0700)]
merge from donut

14 years agoAdd VPN connection lost dialog.
Hung-ying Tyan [Mon, 3 Aug 2009 08:26:47 +0000 (16:26 +0800)]
Add VPN connection lost dialog.

14 years agoReduce the number of keystore connections to 1
Hung-ying Tyan [Sun, 2 Aug 2009 12:28:54 +0000 (20:28 +0800)]
Reduce the number of keystore connections to 1

at entering the security settings.

14 years agoMerge change 9437 into donut
Android (Google) Code Review [Sat, 1 Aug 2009 03:15:37 +0000 (20:15 -0700)]
Merge change 9437 into donut

* changes:
  Reduce the number of keystore connections.

14 years agoReduce the number of keystore connections.
Hung-ying Tyan [Sat, 1 Aug 2009 02:08:03 +0000 (10:08 +0800)]
Reduce the number of keystore connections.

14 years agoFix the NullPointerException in Status Info.
John Wang [Fri, 31 Jul 2009 01:22:58 +0000 (18:22 -0700)]
Fix the NullPointerException in Status Info.

Fix bug 1964037 Phone states activity fail. It only happens in Zaku build. Zaku build overlay the device_info_status.xml under vendor/docomo and don't have CDMA related preference. Status.java will hit the NullPointerException when trying to remove the non-exist preferences.

modified:   src/com/android/settings/deviceinfo/Status.java

14 years agoMerge change 9142 into donut
Android (Google) Code Review [Thu, 30 Jul 2009 12:23:06 +0000 (05:23 -0700)]
Merge change 9142 into donut

* changes:
  Add encryption option to PPTP UI.

14 years agoFix some UI flow issues when the keystore is locked in WiFi setting.
Chung-yih Wang [Thu, 30 Jul 2009 11:04:31 +0000 (19:04 +0800)]
Fix some UI flow issues when the keystore is locked in WiFi setting.

To make it more user friendly, we need to continue on what
users intend to do after unlocking the credential storage.

14 years agoAdd encryption option to PPTP UI.
Hung-ying Tyan [Thu, 30 Jul 2009 11:54:13 +0000 (19:54 +0800)]
Add encryption option to PPTP UI.

Also add new error dialogs for L2TP challenge error and remote server
hanging up error.

14 years agoRemove link to Contributors. Fix for #2022496
Amith Yamasani [Thu, 30 Jul 2009 04:03:02 +0000 (21:03 -0700)]
Remove link to Contributors. Fix for #2022496

14 years agoMerge change 9000 into donut
Android (Google) Code Review [Wed, 29 Jul 2009 22:48:15 +0000 (15:48 -0700)]
Merge change 9000 into donut

* changes:
  Fix duplicate entries being added when application is in active use

14 years agomerge from donut
Jean-Baptiste Queru [Wed, 29 Jul 2009 21:57:07 +0000 (14:57 -0700)]
merge from donut

14 years agoFix duplicate entries being added when application is in active use
Suchi Amalapurapu [Wed, 29 Jul 2009 17:44:21 +0000 (10:44 -0700)]
Fix duplicate entries being added when application is in active use

14 years agoFix bug 2017664.
Jean-Michel Trivi [Tue, 28 Jul 2009 22:13:35 +0000 (15:13 -0700)]
Fix bug 2017664.
Use the new constant names in TextToSpeech.

14 years agoAdd error dialog when secrets are missing.
Hung-ying Tyan [Wed, 29 Jul 2009 04:05:27 +0000 (12:05 +0800)]
Add error dialog when secrets are missing.

14 years agoRemove debug statement
Suchi Amalapurapu [Tue, 28 Jul 2009 17:28:23 +0000 (10:28 -0700)]
Remove debug statement

14 years agoMerge korg/donut into korg/master
Jean-Baptiste Queru [Sun, 26 Jul 2009 00:48:03 +0000 (17:48 -0700)]
Merge korg/donut into korg/master

14 years agoCapitalize the first letter of a VPN name.
Hung-ying Tyan [Sat, 25 Jul 2009 16:05:21 +0000 (00:05 +0800)]
Capitalize the first letter of a VPN name.

14 years agoFix secret EditText display and other fixes.
Hung-ying Tyan [Wed, 22 Jul 2009 23:36:23 +0000 (07:36 +0800)]
Fix secret EditText display and other fixes.

+ 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.

14 years agoLink to bluetooth settings.
Amith Yamasani [Wed, 22 Jul 2009 23:19:18 +0000 (16:19 -0700)]
Link to bluetooth settings.

WiFi -> Wi-Fi

14 years agoMerge change 8183 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 22:44:42 +0000 (15:44 -0700)]
Merge change 8183 into donut

* changes:
  Improve UX of adding credential...

14 years agoImprove UX of adding credential...
Hung-ying Tyan [Wed, 22 Jul 2009 13:31:28 +0000 (21:31 +0800)]
Improve UX of adding credential...

with more toast messages and fix dialog handling when needs another
dialog to initialize or enable the credential storage.

14 years agoFix the broken build
Chung-yih Wang [Wed, 22 Jul 2009 17:56:57 +0000 (01:56 +0800)]
Fix the broken build

14 years agoAdd the missing phase2 field in EAP configuration.
Chung-yih Wang [Wed, 22 Jul 2009 03:48:33 +0000 (11:48 +0800)]
Add the missing phase2 field in EAP configuration.

+ Enable the password field for configuring the EAP-APs scanned.

14 years agoMerge change 7913 into donut
Android (Google) Code Review [Tue, 21 Jul 2009 23:54:12 +0000 (16:54 -0700)]
Merge change 7913 into donut

* changes:
  Reorganize message posting when updating sizes and resources. Rather than posting a message for each package, post a message for  a set of packages(8) so that we don't end up posting too many messages and making the UI non-responsive by keeping the Handler too busy. We just pass the loaded info as a map in the message object. Changes to back ground threads that compute sizes and load resources.

14 years agoMerge change 8077 into donut
Android (Google) Code Review [Tue, 21 Jul 2009 22:03:43 +0000 (15:03 -0700)]
Merge change 8077 into donut

* changes:
  Implement the Back button handler to save a VPN.

14 years agoMerge change 8071 into donut
Android (Google) Code Review [Tue, 21 Jul 2009 22:03:31 +0000 (15:03 -0700)]
Merge change 8071 into donut

* changes:
  Disable suggestion for certain types of text boxes.

14 years agoImplement the Back button handler to save a VPN.
Hung-ying Tyan [Tue, 21 Jul 2009 21:44:39 +0000 (05:44 +0800)]
Implement the Back button handler to save a VPN.

14 years agoDisable suggestion for certain types of text boxes.
Hung-ying Tyan [Tue, 21 Jul 2009 21:05:46 +0000 (05:05 +0800)]
Disable suggestion for certain types of text boxes.

+ Disable suggestion for password, server name and domain suffices.
+ Use a shorter string to indicate that a secret is set.

14 years agoMerge change 7977 into donut
Android (Google) Code Review [Tue, 21 Jul 2009 17:42:35 +0000 (10:42 -0700)]
Merge change 7977 into donut

* changes:
  Add a way to override the display names for locales in the locale picker.

14 years agoAdd password error hint when adding new cert.
Hung-ying Tyan [Tue, 21 Jul 2009 01:41:30 +0000 (09:41 +0800)]
Add password error hint when adding new cert.

14 years agoAdd a way to override the display names for locales in the locale picker.
Eric Fischer [Tue, 21 Jul 2009 01:16:26 +0000 (18:16 -0700)]
Add a way to override the display names for locales in the locale picker.

In particular, show (the Chinese for) "Chinese (Simplified)" and "Chinese
(Traditional)" instead of "Chinese (China)" and "Chinese (Taiwan)".

14 years agoMerge change 7974 into donut
Android (Google) Code Review [Tue, 21 Jul 2009 00:59:56 +0000 (17:59 -0700)]
Merge change 7974 into donut

* changes:
  Removing translated text for compatibility option, which has been moved to SpareParts

14 years agoRemoving translated text for compatibility option, which has been moved to SpareParts
Mitsuru Oshima [Tue, 21 Jul 2009 00:44:51 +0000 (17:44 -0700)]
Removing translated text for compatibility option, which has been moved to SpareParts

14 years agoUI improvements for "Battery use" app.
Amith Yamasani [Mon, 13 Jul 2009 06:06:04 +0000 (23:06 -0700)]
UI improvements for "Battery use" app.

Change the controls UI to display a suggestion.
Bluetooth AT command tracking (not enabled yet).

14 years agomoving compatibility mode option to spare parts
Mitsuru Oshima [Mon, 20 Jul 2009 22:52:29 +0000 (15:52 -0700)]
moving compatibility mode option to spare parts

14 years agoReorganize message posting when updating sizes and resources. Rather than posting
Suchi Amalapurapu [Thu, 9 Jul 2009 19:05:46 +0000 (12:05 -0700)]
Reorganize message posting when updating sizes and resources. Rather than posting
a message for each package, post a message for  a set of packages(8) so that we don't
end up posting too many messages and making the UI non-responsive by keeping
the Handler too busy. We just pass the loaded info as a map in the message object.
Changes to back ground threads that compute sizes and load resources.

Add a new AppInfoCache class with some additional methods to load and persist cache.
As of now this just uses a raw file to cache application sizes and labels. We
could have gotten away with a simple map object but for clarity and future enhancements
just reorganized everything into a class. Load the cache in onCreate and persist
in onDestroy rather than start and stop. Using the cache we get < 1sec load times.
Peristing the cache has negligible performance effects. Remove multiple references to
cache and just use one object all over the code.

Rework AppInfo class and remove some confusing initializations. Also move the formatting
sizes part to back ground threads rather than in the constructor of AppInfo projects.
Formatting the sizes takes a lot of time and there is no point in blocking the UI thread
with this operation.

Changes to Adapter to use the newly created cache system. Define new comparator
for comparing application labels when sorting lists rather than using the one defined in
ApplicationInfo class which was loading the labels again in compare method. This was redundant
and since we cache these labels anyway, just use the cached labels instead. Rename and add
new methods for some of the new handler messages that send updates to a list of objects now.
Changes to removeFromList method and just remove entry from lists and cache linearly.

Also fix a bug in the adapter class where we reinit the list everytime the activity gets
restarted. Add a check here to invoke notifyDataSetChanged if underlying data changes.

Add some debug statements to record time.

14 years agoImprove VpnSettings start-up time.
Hung-ying Tyan [Fri, 17 Jul 2009 18:55:56 +0000 (02:55 +0800)]
Improve VpnSettings start-up time.

* 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.

14 years agoFix bug 1956707 in which setting the default language has no effect.
Jean-Michel Trivi [Fri, 17 Jul 2009 23:52:54 +0000 (16:52 -0700)]
Fix bug 1956707 in which setting the default language has no effect.
Use the current Locale upon initialization of the TTS engine.
Retrieve the default engine value from the TextToSpeech.Engine class
instead of a hard-coded value in TextToSpeechSettings.

14 years agoMerge change 7687 into donut
Android (Google) Code Review [Fri, 17 Jul 2009 17:24:27 +0000 (10:24 -0700)]
Merge change 7687 into donut

* changes:
  Add UI to handle PKCS12 cert.

14 years agoAdd UI to handle PKCS12 cert.
Hung-ying Tyan [Fri, 17 Jul 2009 12:58:06 +0000 (20:58 +0800)]
Add UI to handle PKCS12 cert.

14 years ago1. Added the missing timezone for mainland China "Asia/Shanghai".
Xianzhu Wang [Fri, 10 Jul 2009 07:32:07 +0000 (15:32 +0800)]
1. Added the missing timezone for mainland China "Asia/Shanghai".
In each localized version of timezones.xml, the name of this timezone is
defined like "China Standard Time (Beijing)" if some other timezones are
also in this format, or just "Beijing" if all of other timezones are of
city names.

2. Changed time zone name of "Asia/Taipei" from "China Standard Time (Taipei)"
to "Taipei" in some localized versions of timezones.xml.
"China Standard Time" is for China mainland, and the timezone of Taipei
is normally called "Taipei Standard Time" (or "Chungyuan Standard Time").
Though for now the offset of "Taipei Standard Time" and "China Standard Time"
is the same, they were different during 1986-1991 because of daylight saving
of China mainland.

14 years agoGive an icon to Settings shortcuts.
Romain Guy [Thu, 16 Jul 2009 22:06:44 +0000 (15:06 -0700)]
Give an icon to Settings shortcuts.

14 years agoFix "use secure credential" checkbox in Settings.
Hung-ying Tyan [Thu, 16 Jul 2009 07:24:42 +0000 (15:24 +0800)]
Fix "use secure credential" checkbox in Settings.

Uncheck the checkbox if the user cancels the password-entering dialog.

14 years agowifi: Update the AccessPointState network ID after saving configuration.
Mike Lockwood [Wed, 15 Jul 2009 15:55:32 +0000 (11:55 -0400)]
wifi: Update the AccessPointState network ID after saving configuration.

If there are more than 10 open access points, the network ID may have changed
after the configuration is saved.

Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoMerge change 7051 into donut
Android (Google) Code Review [Tue, 14 Jul 2009 01:53:06 +0000 (18:53 -0700)]
Merge change 7051 into donut

* changes:
  Use appropriate input types for edit fields in Apn settings.

14 years agoUse appropriate input types for edit fields in Apn settings.
Amith Yamasani [Tue, 14 Jul 2009 01:48:13 +0000 (18:48 -0700)]
Use appropriate input types for edit fields in Apn settings.

Turn off prediction and use proper input types.

14 years agoMerge change 6985 into donut
Android (Google) Code Review [Mon, 13 Jul 2009 23:37:45 +0000 (16:37 -0700)]
Merge change 6985 into donut

* changes:
  Import new translations

14 years agoImport new translations
Eric Fischer [Mon, 13 Jul 2009 22:49:57 +0000 (15:49 -0700)]
Import new translations

14 years agoFix #1930767 : "Share with Google" not working on orientation change.
Amith Yamasani [Mon, 13 Jul 2009 22:09:46 +0000 (15:09 -0700)]
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.

14 years agoFix VpnSettings.StatusChecker.start()
Hung-ying Tyan [Mon, 13 Jul 2009 09:23:32 +0000 (17:23 +0800)]
Fix VpnSettings.StatusChecker.start()

to avoid multiple threads checking status at the same time.

14 years agoFix dialog handling.
Hung-ying Tyan [Sat, 11 Jul 2009 14:28:00 +0000 (22:28 +0800)]
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.

14 years agoMerge change 6705 into donut
Android (Google) Code Review [Fri, 10 Jul 2009 17:03:32 +0000 (10:03 -0700)]
Merge change 6705 into donut

* changes:
  Add translated time zone picker lists for several more languages.

14 years agoAdd translated time zone picker lists for several more languages.
Eric Fischer [Fri, 10 Jul 2009 00:07:20 +0000 (17:07 -0700)]
Add translated time zone picker lists for several more languages.

14 years agowifi: use new WifiManager.startScanActive() method to trigger scans.
Mike Lockwood [Wed, 8 Jul 2009 21:12:17 +0000 (17:12 -0400)]
wifi: use new WifiManager.startScanActive() method to trigger scans.

Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoMerge change 6630 into donut
Android (Google) Code Review [Thu, 9 Jul 2009 18:55:11 +0000 (11:55 -0700)]
Merge change 6630 into donut

* changes:
  Remove "no" locale strings.xml file that duplicates "nb" locale file.

14 years agoRemove "no" locale strings.xml file that duplicates "nb" locale file.
Eric Fischer [Thu, 9 Jul 2009 18:03:02 +0000 (11:03 -0700)]
Remove "no" locale strings.xml file that duplicates "nb" locale file.

14 years agoFocus the password box when username is saved.
Hung-ying Tyan [Thu, 9 Jul 2009 10:39:04 +0000 (18:39 +0800)]
Focus the password box when username is saved.

14 years agoFix behavior of cancelling the name cred. dialog.
Hung-ying Tyan [Thu, 9 Jul 2009 03:45:02 +0000 (11:45 +0800)]
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.

14 years agoMerge change 6467 into donut
Android (Google) Code Review [Wed, 8 Jul 2009 19:05:24 +0000 (12:05 -0700)]
Merge change 6467 into donut

* changes:
  Tighten factory data reset text. Bug 1966926.

14 years agoTighten factory data reset text. Bug 1966926.
Roy West [Wed, 8 Jul 2009 15:03:35 +0000 (08:03 -0700)]
Tighten factory data reset text. Bug 1966926.

14 years agoFix saving secrets to keystore from vpn settings.
Hung-ying Tyan [Wed, 8 Jul 2009 08:39:48 +0000 (16:39 +0800)]
Fix saving secrets to keystore from vpn settings.

14 years agoMerge change 6440 into donut
Android (Google) Code Review [Wed, 8 Jul 2009 02:00:13 +0000 (19:00 -0700)]
Merge change 6440 into donut

* changes:
  Trigger backup of locale change.

14 years agoMerge change 6432 into donut
Android (Google) Code Review [Wed, 8 Jul 2009 00:44:32 +0000 (17:44 -0700)]
Merge change 6432 into donut

* changes:
  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.

14 years agoIn the TTS settings: rely on the default locale rather than default
Jean-Michel Trivi [Wed, 8 Jul 2009 00:08:32 +0000 (17:08 -0700)]
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.

14 years agoFix vibrate and silent mode toggle dependency.
Amith Yamasani [Tue, 7 Jul 2009 18:37:08 +0000 (11:37 -0700)]
Fix vibrate and silent mode toggle dependency.

14 years agoTrigger backup of locale change.
Amith Yamasani [Tue, 7 Jul 2009 21:38:41 +0000 (14:38 -0700)]
Trigger backup of locale change.

14 years agoMerge change 6345 into donut
Android (Google) Code Review [Tue, 7 Jul 2009 14:07:17 +0000 (07:07 -0700)]
Merge change 6345 into donut

* changes:
  Add header 'blob://' in front of the cert/key names in wpa_supplicant.conf.

14 years agoAdd header 'blob://' in front of the cert/key names in wpa_supplicant.conf.
Chung-yih Wang [Tue, 7 Jul 2009 13:58:13 +0000 (21:58 +0800)]
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.

14 years agoMerge change 6328 into donut
Android (Google) Code Review [Tue, 7 Jul 2009 03:44:44 +0000 (20:44 -0700)]
Merge change 6328 into donut

* changes:
  String fixes for the credential storage and vpn settings.

14 years agoString fixes for the credential storage and vpn settings.
Hung-ying Tyan [Tue, 7 Jul 2009 02:35:45 +0000 (10:35 +0800)]
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.

14 years agoMerge change 6272 into donut
Android (Google) Code Review [Tue, 7 Jul 2009 00:03:03 +0000 (17:03 -0700)]
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.

14 years agoFix bug 1946195 by making use of the current Locale to set a default value
Jean-Michel Trivi [Mon, 6 Jul 2009 21:04:54 +0000 (14:04 -0700)]
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.

14 years agoIntegrate VPN with new keystore and misc fixes.
Hung-ying Tyan [Mon, 6 Jul 2009 09:26:34 +0000 (17:26 +0800)]
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

14 years agoApply the new keystore and certtool library in Wifi setting.
Chung-yih Wang [Mon, 6 Jul 2009 09:03:53 +0000 (17:03 +0800)]
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.)

14 years agoAdd certificate to keystore for the ADD intent
Hung-ying Tyan [Sat, 4 Jul 2009 18:45:26 +0000 (02:45 +0800)]
Add certificate to keystore for the ADD intent

14 years agoAdd UNLOCK_CREDENTIAL_STORAGE and ADD_CREDENTIAL
Hung-ying Tyan [Sat, 4 Jul 2009 02:16:07 +0000 (10:16 +0800)]
Add UNLOCK_CREDENTIAL_STORAGE and ADD_CREDENTIAL

Add UNLOCK_CREDENTIAL_STORAGE and ADD_CREDENTIAL intents to manifest.

15 years agoFix strings.
Hung-ying Tyan [Fri, 3 Jul 2009 16:39:58 +0000 (00:39 +0800)]
Fix strings.

* Changes
  + "Disconnect from network"
  + "Remember username"
  + "Unable to connect to the network"

15 years agoAdd credential storage settings.
Hung-ying Tyan [Wed, 1 Jul 2009 16:26:46 +0000 (00:26 +0800)]
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.

15 years agoDisable the individual remote Bluetooth devices when BT is off
Michael Chan [Wed, 1 Jul 2009 21:06:43 +0000 (14:06 -0700)]
Disable the individual remote Bluetooth devices when BT is off

15 years agoAdd L2tpIpsecPskEditor.
Hung-ying Tyan [Wed, 1 Jul 2009 03:06:45 +0000 (11:06 +0800)]
Add L2tpIpsecPskEditor.

* Changes
  + Add L2tpIpsecPskEditor.java.
  + Save profile name in VpnEditor to be used in saveSecrets().

15 years agoFix bug 1943785 where the default country string could be accessed while
Jean-Michel Trivi [Tue, 30 Jun 2009 22:09:23 +0000 (15:09 -0700)]
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".

15 years agoRedo power widget layout with the proper widget style.
Ken Shirriff [Mon, 29 Jun 2009 23:23:07 +0000 (16:23 -0700)]
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.

15 years agoClean up some of the intent filters in the manifest.
Dianne Hackborn [Sat, 27 Jun 2009 01:20:23 +0000 (18:20 -0700)]
Clean up some of the intent filters in the manifest.

15 years agoAdd L2TP secret, L2TP/IPSec PSK support. Fix screen orientation.
Hung-ying Tyan [Fri, 26 Jun 2009 06:24:50 +0000 (14:24 +0800)]
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

15 years agoCDMA Settings additions
Chouting Zhang [Wed, 24 Jun 2009 19:25:43 +0000 (14:25 -0500)]
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

15 years agoEdit second line of Search settings. First part of fix to bug1928620.
Roy West [Thu, 25 Jun 2009 20:40:28 +0000 (13:40 -0700)]
Edit second line of Search settings. First part of fix to bug1928620.