Commit Graph

145272 Commits

Author SHA1 Message Date
Android (Google) Code Review
1dea2d2a26 am a7fe59d0: Merge change 7974 into donut
Merge commit 'a7fe59d05d3393484e8c610962be70d29dee2cc4'

* commit 'a7fe59d05d3393484e8c610962be70d29dee2cc4':
  Removing translated text for compatibility option, which has been moved to SpareParts
2009-07-20 23:33:58 -07:00
Amith Yamasani
a459dbe5bb am 8fb0ec36: UI improvements for "Battery use" app.
Merge commit '8fb0ec36ec2f4cb8e0a48020b1b6e79b7f45635c'

* commit '8fb0ec36ec2f4cb8e0a48020b1b6e79b7f45635c':
  UI improvements for "Battery use" app.
2009-07-20 23:33:46 -07:00
Mitsuru Oshima
7f44ca3170 Merge commit '5c20034b' into fix
Conflicts:

	res/values/strings.xml
2009-07-20 23:30:04 -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
Jaikumar Ganesh
3a76bcaa83 Initial 2.1 bluetooth support.
Need to work with Strings and UI person to fix and later test everything.
2009-07-20 10:38:02 -07:00
Hung-ying Tyan
c33a279239 am ba127f57: Improve VpnSettings start-up time.
Merge commit 'ba127f57ae143a0c7fad5a46b327c04eb2254737'

* commit 'ba127f57ae143a0c7fad5a46b327c04eb2254737':
  Improve VpnSettings start-up time.
2009-07-19 21:14:28 -07:00
Jean-Michel Trivi
0c37d2ea12 am 628431de: 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.
Merge commit '628431de91689b62a19e5fde0ed3b546bba7da74'

* commit '628431de91689b62a19e5fde0ed3b546bba7da74':
  Fix bug 1956707 in which setting the default language has no effect.
2009-07-19 20:28:43 -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
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
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
849453e269 am f90682f4: Give an icon to Settings shortcuts.
Merge commit 'f90682f4fb645ff45cbabcc0e7c3c26dc3cce599'

* commit 'f90682f4fb645ff45cbabcc0e7c3c26dc3cce599':
  Give an icon to Settings shortcuts.
2009-07-16 17:54:41 -07:00
Romain Guy
f90682f4fb Give an icon to Settings shortcuts. 2009-07-16 15:06:44 -07: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
Mike Lockwood
afdca68b95 am 599221c7: wifi: Update the AccessPointState network ID after saving configuration.
Merge commit '599221c7bbd6cd613fd4f86805ccaf0696a3e78c'

* commit '599221c7bbd6cd613fd4f86805ccaf0696a3e78c':
  wifi: Update the AccessPointState network ID after saving configuration.
2009-07-15 18:13:56 -07:00
Android (Google) Code Review
6a176dc638 Merge change 7449
* changes:
  b/1818390 Show Computer and Phone icons on such devices even if they support A2DP or HSP
2009-07-15 16:19:42 -07:00
Michael Chan
3e1c1d1920 b/1818390 Show Computer and Phone icons on such devices even if they support A2DP or HSP 2009-07-15 15:14:12 -07: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
Jean-Baptiste Queru
da182bb458 Merge commit 'goog/readonly-korg-master' into merge_korg_master 2009-07-14 17:13:07 -07:00
Vivek Dlima
3d47738803 change all instances of displayed text 'apps' to 'applications' 2009-07-14 14:36:49 -07:00
Vivek Dlima
58f9c2b52d Updated Compatibility mode text. 2009-07-14 14:24:19 -07:00
Android (Google) Code Review
1555e944ab am bc48d181: Merge change 7051 into donut
Merge commit 'bc48d181fa9b1c1b516e3e9ece81e82069594022'

* commit 'bc48d181fa9b1c1b516e3e9ece81e82069594022':
  Use appropriate input types for edit fields in Apn settings.
2009-07-14 10:21:27 -07: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
Amith Yamasani
058c602bec Use appropriate input types for edit fields in Apn settings.
Turn off prediction and use proper input types.
2009-07-13 18:48:13 -07:00
Android (Google) Code Review
6d1f227f72 am 178dc98a: Merge change 6985 into donut
Merge commit '178dc98a7e0bba4ce0089d7ef6cb64c51c0411ca'

* commit '178dc98a7e0bba4ce0089d7ef6cb64c51c0411ca':
  Import new translations
2009-07-13 16:59:37 -07: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
Android (Google) Code Review
178dc98a7e Merge change 6985 into donut
* changes:
  Import new translations
2009-07-13 16:37:45 -07:00
Eric Fischer
9046c92ab0 Import new translations 2009-07-13 15:49:57 -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
50cde8b1f3 am fe0b0178: Fix VpnSettings.StatusChecker.start()
Merge commit 'fe0b0178cb2d24b8e6e1477055617bbf86a0808b'

* commit 'fe0b0178cb2d24b8e6e1477055617bbf86a0808b':
  Fix VpnSettings.StatusChecker.start()
2009-07-13 02:44:49 -07:00
Hung-ying Tyan
fe0b0178cb Fix VpnSettings.StatusChecker.start()
to avoid multiple threads checking status at the same time.
2009-07-13 17:23:32 +08: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
Android (Google) Code Review
97beba7ba2 am a5cead2c: Merge change 6705 into donut
Merge commit 'a5cead2cf7350e299d92112d513a1d4770d7b31b'

* commit 'a5cead2cf7350e299d92112d513a1d4770d7b31b':
  Add translated time zone picker lists for several more languages.
2009-07-10 10:05:49 -07:00
Android (Google) Code Review
a5cead2cf7 Merge change 6705 into donut
* changes:
  Add translated time zone picker lists for several more languages.
2009-07-10 10:03:32 -07:00
Eric Fischer
8ab37157dd Add translated time zone picker lists for several more languages. 2009-07-09 17:07:20 -07:00
Mike Lockwood
81183a8466 am 6dd27613: wifi: use new WifiManager.startScanActive() method to trigger scans.
Merge commit '6dd27613b5ee59b1f0a90ad50fa080c0d98c47e2'

* commit '6dd27613b5ee59b1f0a90ad50fa080c0d98c47e2':
  wifi: use new WifiManager.startScanActive() method to trigger scans.
2009-07-09 14:27:35 -07:00
Mike Lockwood
6dd27613b5 wifi: use new WifiManager.startScanActive() method to trigger scans.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-07-09 16:50:59 -04:00
Android (Google) Code Review
2ed1d1b732 am 52844864: Merge change 6630 into donut
Merge commit '52844864a7a42030246ae664d42c78c96611ba4e'

* commit '52844864a7a42030246ae664d42c78c96611ba4e':
  Remove "no" locale strings.xml file that duplicates "nb" locale file.
2009-07-09 12:50:46 -07:00
Hung-ying Tyan
9d2c359ad4 am e02f206e: Focus the password box when username is saved.
Merge commit 'e02f206e1161fc2d332db60395e74cca397ffa27'

* commit 'e02f206e1161fc2d332db60395e74cca397ffa27':
  Focus the password box when username is saved.
2009-07-09 12:49:33 -07: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