Commit Graph

270 Commits

Author SHA1 Message Date
Doug Zongker
36efef1d71 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.
2009-08-18 10:02:33 -07:00
Eric Fischer
da99054ace Import revised translations. DO NOT MERGE 2009-08-17 13:15:56 -07:00
Android (Google) Code Review
49e8d2e90b 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.
2009-08-13 00:03:43 -07:00
Jean-Michel Trivi
6dde8965a0 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.
2009-08-11 09:06:58 -07:00
Eric Fischer
c9e5fc45b0 Import revised translations. DO NOT MERGE 2009-08-10 17:57:14 -07:00
Eric Fischer
a016cb0048 Import revised translations. DO NOT MERGE 2009-08-10 10:48:54 -07:00
Jeff Sharkey
6c3287a4d3 Adopt new AppWidget assets, per http://b/2038594. 2009-08-06 22:37:08 -07:00
Hung-ying Tyan
09cda9cfaf Add VPN connection lost dialog. 2009-08-03 16:26:47 +08:00
Hung-ying Tyan
233991a242 Reduce the number of keystore connections to 1
at entering the security settings.
2009-08-02 20:28:54 +08:00
Android (Google) Code Review
38322393a6 Merge change 9437 into donut
* changes:
  Reduce the number of keystore connections.
2009-07-31 20:15:37 -07:00
Hung-ying Tyan
79f9fa073c Reduce the number of keystore connections. 2009-08-01 10:08:03 +08:00
John Wang
ed47f1e497 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
2009-07-30 18:50:36 -07:00
Android (Google) Code Review
9c432349a7 Merge change 9142 into donut
* changes:
  Add encryption option to PPTP UI.
2009-07-30 05:23:06 -07:00
Chung-yih Wang
c538b651a2 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.
2009-07-30 20:03:16 +08:00
Hung-ying Tyan
7be218e7f7 Add encryption option to PPTP UI.
Also add new error dialogs for L2TP challenge error and remote server
hanging up error.
2009-07-30 19:54:13 +08:00
Amith Yamasani
03f46bf48e Remove link to Contributors. Fix for #2022496 2009-07-29 21:03:54 -07:00
Android (Google) Code Review
79748b42e3 Merge change 9000 into donut
* changes:
  Fix duplicate entries being added when application is in active use
2009-07-29 15:48:15 -07:00
Suchi Amalapurapu
489eaccb98 Fix duplicate entries being added when application is in active use 2009-07-29 11:38:17 -07:00
Jean-Michel Trivi
387dc0ca9c Fix bug 2017664.
Use the new constant names in TextToSpeech.
2009-07-29 11:24:25 -07:00
Hung-ying Tyan
c157aadf56 Add error dialog when secrets are missing. 2009-07-29 15:08:50 +08:00
Suchi Amalapurapu
c093263183 Remove debug statement 2009-07-28 10:28:23 -07:00
Hung-ying Tyan
6120ddd786 Capitalize the first letter of a VPN name. 2009-07-26 00:05:21 +08:00
Hung-ying Tyan
38a9daffa5 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.
2009-07-25 05:37:42 +08:00
Amith Yamasani
c25f8955be Link to bluetooth settings.
WiFi -> Wi-Fi
2009-07-22 16:26:20 -07:00
Android (Google) Code Review
86637edfa2 Merge change 8183 into donut
* changes:
  Improve UX of adding credential...
2009-07-22 15:44:42 -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
Chung-yih Wang
c78e0b01e6 Fix the broken build 2009-07-23 01:56:57 +08:00
Chung-yih Wang
b2295174dc Add the missing phase2 field in EAP configuration.
+ Enable the password field for configuring the EAP-APs scanned.
2009-07-22 11:48:33 +08:00
Android (Google) Code Review
e0b5f33c68 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.
2009-07-21 16:54:12 -07:00
Android (Google) Code Review
53a1e44544 Merge change 8077 into donut
* changes:
  Implement the Back button handler to save a VPN.
2009-07-21 15:03:43 -07:00
Android (Google) Code Review
ef2c5ac2e4 Merge change 8071 into donut
* changes:
  Disable suggestion for certain types of text boxes.
2009-07-21 15:03:31 -07:00
Hung-ying Tyan
19dc9e690f Implement the Back button handler to save a VPN. 2009-07-22 05:47:33 +08:00
Hung-ying Tyan
bfaa90725d 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.
2009-07-22 05:13:51 +08:00
Android (Google) Code Review
8d4faa9ec3 Merge change 7977 into donut
* changes:
  Add a way to override the display names for locales in the locale picker.
2009-07-21 10:42:35 -07:00
Hung-ying Tyan
241610e986 Add password error hint when adding new cert. 2009-07-21 09:45:08 +08:00
Eric Fischer
7ca226b15b 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)".
2009-07-20 18:16:26 -07:00
Android (Google) Code Review
a7fe59d05d Merge change 7974 into donut
* changes:
  Removing translated text for compatibility option, which has been moved to SpareParts
2009-07-20 17:59:56 -07:00
Mitsuru Oshima
1f1c67aae5 Removing translated text for compatibility option, which has been moved to SpareParts 2009-07-20 17:50:04 -07:00
Amith Yamasani
8fb0ec36ec UI improvements for "Battery use" app.
Change the controls UI to display a suggestion.
Bluetooth AT command tracking (not enabled yet).
2009-07-20 17:43:13 -07:00
Mitsuru Oshima
5c20034b7f moving compatibility mode option to spare parts 2009-07-20 15:52:29 -07:00
Suchi Amalapurapu
b285593caf 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.
2009-07-20 11:48:17 -07:00
Hung-ying Tyan
ba127f57ae 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.
2009-07-18 10:33:24 +08:00
Jean-Michel Trivi
628431de91 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.
2009-07-17 16:52:54 -07:00
Android (Google) Code Review
6b1b36a832 Merge change 7687 into donut
* changes:
  Add UI to handle PKCS12 cert.
2009-07-17 10:24:27 -07:00
Hung-ying Tyan
38a44f2445 Add UI to handle PKCS12 cert. 2009-07-17 20:58:06 +08:00
Xianzhu Wang
58d601794e 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.
2009-07-17 11:19:50 +08:00
Romain Guy
f90682f4fb Give an icon to Settings shortcuts. 2009-07-16 15:06:44 -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
Mike Lockwood
599221c7bb 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>
2009-07-15 11:57:25 -04:00
Android (Google) Code Review
bc48d181fa Merge change 7051 into donut
* changes:
  Use appropriate input types for edit fields in Apn settings.
2009-07-13 18:53:06 -07:00