OSDN Git Service

android-x86/frameworks-base.git
15 years agoMerge change 21057
Android (Google) Code Review [Thu, 13 Aug 2009 04:18:35 +0000 (21:18 -0700)]
Merge change 21057

* changes:
  Better error handling in EGL extensions

15 years agoBetter error handling in EGL extensions
Mathias Agopian [Thu, 13 Aug 2009 04:18:15 +0000 (21:18 -0700)]
Better error handling in EGL extensions

15 years agoMerge change 21047
Android (Google) Code Review [Thu, 13 Aug 2009 01:51:46 +0000 (18:51 -0700)]
Merge change 21047

* changes:
  Fix build break.

15 years agoFix build break.
Jason Sams [Thu, 13 Aug 2009 01:50:44 +0000 (18:50 -0700)]
Fix build break.

15 years agoMerge change 21035
Android (Google) Code Review [Thu, 13 Aug 2009 00:57:16 +0000 (17:57 -0700)]
Merge change 21035

* changes:
  Implement reflecting Java objects into the ACC enviroment.

15 years agoImplement reflecting Java objects into the ACC enviroment.
Jason Sams [Thu, 13 Aug 2009 00:54:11 +0000 (17:54 -0700)]
Implement reflecting Java objects into the ACC enviroment.

15 years agoMerge change 21032
Android (Google) Code Review [Thu, 13 Aug 2009 00:23:22 +0000 (17:23 -0700)]
Merge change 21032

* changes:
  Default mBaselineAlignedChildIndex to -1 so it will still be valid when a LinearLayout is created programatically.

15 years agoMerge change 21031
Android (Google) Code Review [Thu, 13 Aug 2009 00:19:54 +0000 (17:19 -0700)]
Merge change 21031

* changes:
  Should clear background.

15 years agoShould clear background.
Dianne Hackborn [Thu, 13 Aug 2009 00:19:03 +0000 (17:19 -0700)]
Should clear background.

15 years agoDefault mBaselineAlignedChildIndex to -1 so it will still be valid when a LinearLayou...
Karl Rosaen [Thu, 13 Aug 2009 00:18:33 +0000 (17:18 -0700)]
Default mBaselineAlignedChildIndex to -1 so it will still be valid when a LinearLayout is created programatically.

Fixes bug 2038629, and thereby external issue 3484.

15 years agoMerge change 21030
Android (Google) Code Review [Thu, 13 Aug 2009 00:17:01 +0000 (17:17 -0700)]
Merge change 21030

* changes:
  Fix issue #2045895: Finger IDs are not tracked properly.

15 years agoFix issue #2045895: Finger IDs are not tracked properly.
Dianne Hackborn [Thu, 13 Aug 2009 00:13:55 +0000 (17:13 -0700)]
Fix issue #2045895: Finger IDs are not tracked properly.

This was a problem with not dealing well with how the driver was
reporting data in the old touch protocol.

Also fixed issue with not correctly rotating non-primary touches.

15 years agoMerge change 20419
Android (Google) Code Review [Wed, 12 Aug 2009 23:56:58 +0000 (16:56 -0700)]
Merge change 20419

* changes:
  new s2d ids table for rmq2; plus Gservices setting for using rmq2 protocol.

15 years agoMake <font size> and <font height> in string resources respect density.
Eric Fischer [Wed, 12 Aug 2009 22:00:10 +0000 (15:00 -0700)]
Make <font size> and <font height> in string resources respect density.

This unfortunately requires API changes because the existing text markup
classes had no access to the screen density.

TextPaint gains a "density" field so that TextView can pass the density
along.  AbsoluteSizeSpan gains a new flag to indicate that its argument
is in dip instead of in physical pixels.  LineHeightSpan gains an inner
interface whose chooseHeight() method includes a TextPaint argument so
it can get at the density.  And when StringBlock creates the markup
objects, it now uses the density-aware versions.

Bug 1976971, Bug 2031746

15 years agoMerge change 21010
Android (Google) Code Review [Wed, 12 Aug 2009 22:56:13 +0000 (15:56 -0700)]
Merge change 21010

* changes:
  Grass has graduated from an RS experiment to a real live wallpaper.

15 years agoGrass has graduated from an RS experiment to a real live wallpaper.
Romain Guy [Wed, 12 Aug 2009 22:55:17 +0000 (15:55 -0700)]
Grass has graduated from an RS experiment to a real live wallpaper.

15 years agoMerge change 20913
Android (Google) Code Review [Wed, 12 Aug 2009 22:55:03 +0000 (15:55 -0700)]
Merge change 20913

* changes:
  Report wallpaper offset to the wallpaper, use this in the image wallpaper.

15 years agoMerge change 21006
Android (Google) Code Review [Wed, 12 Aug 2009 22:48:31 +0000 (15:48 -0700)]
Merge change 21006

* changes:
  Fix the issue of incorrect conversion of the plus sign in a dial string.

15 years agoFix the issue of incorrect conversion of the plus sign in a dial string.
Tang@Motorola.com [Mon, 3 Aug 2009 23:06:04 +0000 (18:06 -0500)]
Fix the issue of incorrect conversion of the plus sign in a dial string.

The issue is that the plus sign in a dial string is always converted
to the IDP (International Dial Prefix).

This fix implements a plus sign conversion mechanism based on the default
telephone numbering system that the phone is activated and the current telephone
number system that the phone is camped on. Currently, we only support the cases
where the default and current telephone numbering system are NANP.

15 years agoMerge change 20998
Android (Google) Code Review [Wed, 12 Aug 2009 22:24:23 +0000 (15:24 -0700)]
Merge change 20998

* changes:
  Add norm() and map() to MathUtils.

15 years agoAdd norm() and map() to MathUtils.
Romain Guy [Wed, 12 Aug 2009 22:23:56 +0000 (15:23 -0700)]
Add norm() and map() to MathUtils.

15 years agoReport wallpaper offset to the wallpaper, use this in the image wallpaper.
Dianne Hackborn [Wed, 12 Aug 2009 04:13:54 +0000 (21:13 -0700)]
Report wallpaper offset to the wallpaper, use this in the image wallpaper.

Wallpapers can now be just the size of the screen, and get told when their
scroll position should change to do the updating on their own.

15 years agoMerge change 20982
Android (Google) Code Review [Wed, 12 Aug 2009 21:32:34 +0000 (14:32 -0700)]
Merge change 20982

* changes:
  SystemProperties: eliminate unnecessary string allocation.

15 years agoSystemProperties: eliminate unnecessary string allocation.
Mike Lockwood [Wed, 12 Aug 2009 21:15:51 +0000 (17:15 -0400)]
SystemProperties: eliminate unnecessary string allocation.

getInt(), getLong() and getBoolean() no longer allocate a temporary String object.

Signed-off-by: Mike Lockwood <lockwood@android.com>
15 years agoAdd AsyncQueryHandler helper for queryEntities().
Jeff Sharkey [Wed, 12 Aug 2009 16:53:48 +0000 (09:53 -0700)]
Add AsyncQueryHandler helper for queryEntities().

Recently we added queryEntities() to the ContentProvider
interface to read out Entity objects atomically.  This
change adds a helper to AsyncQueryHandler to perform these
queries on a background thread, returning the result when
finished.

15 years agoam fe6e733a: Merge change 20960 into donut
Dianne Hackborn [Wed, 12 Aug 2009 19:36:47 +0000 (12:36 -0700)]
am fe6e733a: Merge change 20960 into donut

Merge commit 'fe6e733a01b1ab8a6c7b651c65bf7abeb97f9525'

* commit 'fe6e733a01b1ab8a6c7b651c65bf7abeb97f9525':
  Fix issue #2049588: App widget can crash causing system to be unable to boot

15 years agoam 4cc16a7b: Merge change 20859 into donut
jsh [Wed, 12 Aug 2009 19:36:35 +0000 (12:36 -0700)]
am 4cc16a7b: Merge change 20859 into donut

Merge commit '4cc16a7b9f146c4a324202db6b1777d2e0150fc3'

* commit '4cc16a7b9f146c4a324202db6b1777d2e0150fc3':
  Fix for sending 16-bit SMS message with header.

15 years agoam 4c85f133: Merge change 20869 into donut
Karl Rosaen [Wed, 12 Aug 2009 19:36:29 +0000 (12:36 -0700)]
am 4c85f133: Merge change 20869 into donut

Merge commit '4c85f133e10ceaeb2553adb397d4828a7091e7e6'

* commit '4c85f133e10ceaeb2553adb397d4828a7091e7e6':
  If no interpolator is specified for a progress bar in the theme, default to a LinearInterpolator.

15 years agoam b8546001: Merge change 20878 into donut
Dianne Hackborn [Wed, 12 Aug 2009 19:36:12 +0000 (12:36 -0700)]
am b8546001: Merge change 20878 into donut

Merge commit 'b8546001701405a76dad7e6235046e592296fac2'

* commit 'b8546001701405a76dad7e6235046e592296fac2':
  Fix issue #2048263: More debugging information

15 years agoam 188f5a71: (-s ours) DO NOT MERGE: cherry-pick: libdrm1: Use libcrypto instead...
Chia-chi Yeh [Wed, 12 Aug 2009 19:05:09 +0000 (12:05 -0700)]
am 188f5a71: (-s ours) DO NOT MERGE: cherry-pick: libdrm1: Use libcrypto instead of libaes.

Merge commit '188f5a71061791906572de375c5efe26cadddbae'

* commit '188f5a71061791906572de375c5efe26cadddbae':
  DO NOT MERGE: cherry-pick: libdrm1: Use libcrypto instead of libaes.

15 years agoam eccd6fdd: Merge change 20673 into donut
Jean-Michel Trivi [Wed, 12 Aug 2009 19:04:40 +0000 (12:04 -0700)]
am eccd6fdd: Merge change 20673 into donut

Merge commit 'eccd6fdd0d86b8610b738fc15c707eedc00ec9dc'

* commit 'eccd6fdd0d86b8610b738fc15c707eedc00ec9dc':
  Fix bug 2043140.

15 years agoam 3b5f4a84: Merge change 20806 into donut
Brett Chabot [Wed, 12 Aug 2009 19:04:34 +0000 (12:04 -0700)]
am 3b5f4a84: Merge change 20806 into donut

Merge commit '3b5f4a841e9e87442eeacd7773bd2a6ca8710019'

* commit '3b5f4a841e9e87442eeacd7773bd2a6ca8710019':
  Remove flaky auto complete tests from continuous.

15 years agoam b3fa1084: Merge change 20768 into donut
Karl Rosaen [Wed, 12 Aug 2009 19:04:22 +0000 (12:04 -0700)]
am b3fa1084: Merge change 20768 into donut

Merge commit 'b3fa1084ba31698fa5c58150a713d7abbadb1cd2'

* commit 'b3fa1084ba31698fa5c58150a713d7abbadb1cd2':
  Docs only change: finish documentation of Android Quick Search Box related information in SearchManager.

15 years agoam b23896da: Merge snapshot version of donut back into main tree
Jean-Baptiste Queru [Wed, 12 Aug 2009 19:04:14 +0000 (12:04 -0700)]
am b23896da: Merge snapshot version of donut back into main tree

Merge commit 'b23896da46a9290b9e8c7b1e540d4d4a6cebcfab'

* commit 'b23896da46a9290b9e8c7b1e540d4d4a6cebcfab':
  donut snapshot

15 years agoresolved conflicts for merge of 802527c6 to master skipping preloaded-classes as...
android-build SharedAccount [Wed, 12 Aug 2009 19:01:35 +0000 (12:01 -0700)]
resolved conflicts for merge of 802527c6 to master skipping preloaded-classes as pre Bob

15 years agoMerge change 20965
Android (Google) Code Review [Wed, 12 Aug 2009 18:48:14 +0000 (11:48 -0700)]
Merge change 20965

* changes:
  readData should read the data, not write the data.

15 years agoreadData should read the data, not write the data.
Joe Onorato [Wed, 12 Aug 2009 18:47:23 +0000 (11:47 -0700)]
readData should read the data, not write the data.

15 years agoMerge change 20960 into donut
Android (Google) Code Review [Wed, 12 Aug 2009 18:29:59 +0000 (11:29 -0700)]
Merge change 20960 into donut

* changes:
  Fix issue #2049588: App widget can crash causing system to be unable to boot

15 years agoAdd presence to ContactsHeaderWidget
Evan Millar [Mon, 10 Aug 2009 23:32:58 +0000 (16:32 -0700)]
Add presence to ContactsHeaderWidget

15 years agoFix issue #2049588: App widget can crash causing system to be unable to boot
Dianne Hackborn [Wed, 12 Aug 2009 18:13:26 +0000 (11:13 -0700)]
Fix issue #2049588: App widget can crash causing system to be unable to boot

15 years agoMerge change 20859 into donut
Android (Google) Code Review [Wed, 12 Aug 2009 17:21:36 +0000 (10:21 -0700)]
Merge change 20859 into donut

* changes:
  Fix for sending 16-bit SMS message with header.

15 years agoMerge change 20945
Android (Google) Code Review [Wed, 12 Aug 2009 17:10:47 +0000 (10:10 -0700)]
Merge change 20945

* changes:
  contrary to popular belief ContentResolver.query can return null. so check.

15 years agoMerge change 20930
Android (Google) Code Review [Wed, 12 Aug 2009 16:57:05 +0000 (09:57 -0700)]
Merge change 20930

* changes:
  BatteryService: Fix problems shutting down when the battery is dead:

15 years agoDeprecate extra gd:structuredPostalAddress fields.
Jeff Sharkey [Wed, 12 Aug 2009 00:33:48 +0000 (17:33 -0700)]
Deprecate extra gd:structuredPostalAddress fields.

For the purposes of contact data, there are some postal
address columns that are unsupported, since they don't
directly contribute to a "mailing address" for a person.

http://code.google.com/apis/contacts/docs/3.0/reference.html#structuredPostalAddressRestrictions
http://code.google.com/apis/gdata/docs/2.0/elements.html#gdStructuredPostalAddress

15 years agoMerge change 20943
Android (Google) Code Review [Wed, 12 Aug 2009 16:51:56 +0000 (09:51 -0700)]
Merge change 20943

* changes:
  Fix the simulator build by removing librs_jni and libRS from it. Since libacc isn't 64-bit clean (it casts pointers to integers), and so can't be built for the gHardy simulator, everything that depends on it can't be built for the simulator either, which means removing libRS and librs_jni.

15 years agoFix the simulator build by removing librs_jni and libRS from it.
Marco Nelissen [Wed, 12 Aug 2009 16:41:07 +0000 (09:41 -0700)]
Fix the simulator build by removing librs_jni and libRS from it.
Since libacc isn't 64-bit clean (it casts pointers to integers),
and so can't be built for the gHardy simulator, everything
that depends on it can't be built for the simulator either, which
means removing libRS and librs_jni.

15 years agocontrary to popular belief ContentResolver.query can return null.
Mark Wagner [Wed, 12 Aug 2009 16:33:27 +0000 (09:33 -0700)]
contrary to popular belief ContentResolver.query can return null.
so check.

15 years agoMerge change 20706
Android (Google) Code Review [Wed, 12 Aug 2009 16:27:01 +0000 (09:27 -0700)]
Merge change 20706

* changes:
  Improve Browser performance by 1-2%. To address domain sanity bug, http://b/issue?id=1022797, we decoded/encoded the url for each request. As the url can be long, getBytes() and String.init are taking 1.5% in nytimes.com and 2.4% in cnn.com. By doing a simple URL encoding test, we can shave 1-2 secs thread time during loading.

15 years agoMerge change 20869 into donut
Android (Google) Code Review [Wed, 12 Aug 2009 16:24:05 +0000 (09:24 -0700)]
Merge change 20869 into donut

* changes:
  If no interpolator is specified for a progress bar in the theme, default to a LinearInterpolator.

15 years agoRename gmail-ls log tag to Gmail
Cynthia Wong [Wed, 12 Aug 2009 16:13:32 +0000 (09:13 -0700)]
Rename gmail-ls log tag to Gmail

15 years agoMerge change 20937
Android (Google) Code Review [Wed, 12 Aug 2009 15:33:25 +0000 (08:33 -0700)]
Merge change 20937

* changes:
  libdrm: "==" should be an assignment.

15 years agolibdrm: "==" should be an assignment.
Mike Lockwood [Wed, 12 Aug 2009 15:32:36 +0000 (11:32 -0400)]
libdrm: "==" should be an assignment.

Signed-off-by: Mike Lockwood <lockwood@android.com>
15 years agoMerge change 20927
Android (Google) Code Review [Wed, 12 Aug 2009 15:26:17 +0000 (08:26 -0700)]
Merge change 20927

* changes:
  Workaround for issue 2046783.

15 years agoIf no interpolator is specified for a progress bar in the theme, default to a LinearI...
Karl Rosaen [Wed, 12 Aug 2009 00:57:50 +0000 (17:57 -0700)]
If no interpolator is specified for a progress bar in the theme, default to a LinearInterpolator.

Fixes bug 2031844.

15 years agoMerge change 20787
Android (Google) Code Review [Wed, 12 Aug 2009 14:46:53 +0000 (07:46 -0700)]
Merge change 20787

* changes:
  Removing primary/default phone number and email on contact from the API.

15 years agoMerge change 20744
Android (Google) Code Review [Wed, 12 Aug 2009 14:26:48 +0000 (07:26 -0700)]
Merge change 20744

* changes:
  Adds Java side of browser GeolocationService.

15 years agoAdds Java side of browser GeolocationService.
Steve Block [Fri, 31 Jul 2009 08:06:59 +0000 (09:06 +0100)]
Adds Java side of browser GeolocationService.

15 years agoBatteryService: Fix problems shutting down when the battery is dead:
Mike Lockwood [Wed, 12 Aug 2009 13:56:44 +0000 (09:56 -0400)]
BatteryService: Fix problems shutting down when the battery is dead:

Wait until system is booted before attempting to display the shutdown dialog.
Use ShutdownActivity rather than attempting to run ShutdownThread in the battery service.
Fix logic error (check !isPowered() instead of isPowered())

Signed-off-by: Mike Lockwood <lockwood@android.com>
15 years agoWorkaround for issue 2046783.
Eric Laurent [Wed, 12 Aug 2009 12:49:58 +0000 (05:49 -0700)]
Workaround for issue 2046783.

Apparently the problem is caused by the fact that A2dpAudioStreamOut::standby() calls a2dp_stop() after the headset has been powered down.
The workaround consists in indicating to A2DP audio hardware that a close request is pending and that stanby() must be bypassed.

15 years agonew s2d ids table for rmq2; plus Gservices setting for using rmq2 protocol.
Wei Huang [Thu, 30 Jul 2009 01:50:00 +0000 (18:50 -0700)]
new s2d ids table for rmq2; plus Gservices setting for using rmq2 protocol.

15 years agosecond take, hopefully this time it doesn't break one of the builds: "SurfaceFlinger...
Mathias Agopian [Wed, 12 Aug 2009 05:34:02 +0000 (22:34 -0700)]
second take, hopefully this time it doesn't break one of the builds: "SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything."

15 years agosecond take, hopefully this time it doesn't break one of the builds: "SurfaceFlinger...
Mathias Agopian [Wed, 12 Aug 2009 05:34:02 +0000 (22:34 -0700)]
second take, hopefully this time it doesn't break one of the builds: "SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything."

15 years agoMerge change 20905
Android (Google) Code Review [Wed, 12 Aug 2009 05:19:14 +0000 (22:19 -0700)]
Merge change 20905

* changes:
  git rid of the "x" prefixes for test

15 years agoMerge change 20898
Android (Google) Code Review [Wed, 12 Aug 2009 05:16:20 +0000 (22:16 -0700)]
Merge change 20898

* changes:
  The triumphant return of the shell scripts, with bugreports, less code dup, and enhanced readability.

15 years agogit rid of the "x" prefixes for test
Omari Stephens [Wed, 12 Aug 2009 05:10:52 +0000 (22:10 -0700)]
git rid of the "x" prefixes for test

15 years agoThe triumphant return of the shell scripts, with bugreports, less code dup, and
Omari Stephens [Wed, 12 Aug 2009 04:44:21 +0000 (21:44 -0700)]
The triumphant return of the shell scripts, with bugreports, less code dup, and
enhanced readability.

15 years agoMerge change 20893
Android (Google) Code Review [Wed, 12 Aug 2009 03:51:07 +0000 (20:51 -0700)]
Merge change 20893

* changes:
  show that we need to glClear to be fast(er)

15 years agoMerge change 20892
Android (Google) Code Review [Wed, 12 Aug 2009 03:50:32 +0000 (20:50 -0700)]
Merge change 20892

* changes:
  Revert "SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything."

15 years agoshow that we need to glClear to be fast(er)
Mathias Agopian [Wed, 12 Aug 2009 03:50:20 +0000 (20:50 -0700)]
show that we need to glClear to be fast(er)

15 years agoRevert "SurfaceFlinger will now allocate buffers based on the usage specified by...
Fred Quintana [Wed, 12 Aug 2009 03:49:35 +0000 (20:49 -0700)]
Revert "SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything."

This reverts commit 8b76a0ac6fbf07254629ed1ea86af014d5abe050.

15 years agoMerge change 20887
Android (Google) Code Review [Wed, 12 Aug 2009 03:12:43 +0000 (20:12 -0700)]
Merge change 20887

* changes:
  option to use drawtexture at compile time

15 years agooption to use drawtexture at compile time
Mathias Agopian [Wed, 12 Aug 2009 03:12:18 +0000 (20:12 -0700)]
option to use drawtexture at compile time

15 years agoMerge change 20700
Android (Google) Code Review [Wed, 12 Aug 2009 03:06:53 +0000 (20:06 -0700)]
Merge change 20700

* changes:
  add gservices setting for switching sync subscriptions to use a new routing info.

15 years agoMerge change 20878 into donut
Android (Google) Code Review [Wed, 12 Aug 2009 02:58:36 +0000 (19:58 -0700)]
Merge change 20878 into donut

* changes:
  Fix issue #2048263: More debugging information

15 years agoMerge change 20885
Android (Google) Code Review [Wed, 12 Aug 2009 02:55:51 +0000 (19:55 -0700)]
Merge change 20885

* changes:
  fix and extend the filter test a bit

15 years agofix and extend the filter test a bit
Mathias Agopian [Wed, 12 Aug 2009 02:55:31 +0000 (19:55 -0700)]
fix and extend the filter test a bit

15 years agoDraw the wallpaper chosen by the user
Romain Guy [Wed, 12 Aug 2009 02:12:17 +0000 (19:12 -0700)]
Draw the wallpaper chosen by the user

15 years agoFix issue #2048263: More debugging information
Dianne Hackborn [Wed, 12 Aug 2009 01:56:41 +0000 (18:56 -0700)]
Fix issue #2048263: More debugging information

We now hopefully do better about generating the anr reports, and include
information about the malloc loaded assets in meminfo.

15 years agoDO NOT MERGE: cherry-pick: libdrm1: Use libcrypto instead of libaes.
Chia-chi Yeh [Wed, 5 Aug 2009 18:28:24 +0000 (02:28 +0800)]
DO NOT MERGE: cherry-pick: libdrm1: Use libcrypto instead of libaes.

It seems that libdrm1 was the only user of libaes.
Now libaes is no longer required and removing it saves 36 kilobytes.

Signed-off-by: Mike Lockwood <lockwood@android.com>
15 years agoam c8ddd37a: (-s ours) Merge change 20779 into donut
Grace Kloba [Wed, 12 Aug 2009 01:12:34 +0000 (18:12 -0700)]
am c8ddd37a: (-s ours) Merge change 20779 into donut

Merge commit 'c8ddd37aa0f16540f48b1c4170fbb23d6eb03143'

* commit 'c8ddd37aa0f16540f48b1c4170fbb23d6eb03143':
  DO NOT MERGE. This is merged from master.

15 years agoam 7b98b666: Merge change 20738 into donut
Hung-ying Tyan [Wed, 12 Aug 2009 01:12:11 +0000 (18:12 -0700)]
am 7b98b666: Merge change 20738 into donut

Merge commit '7b98b666ec465259c676c90cb12f3d1b4e1c7cf7'

* commit '7b98b666ec465259c676c90cb12f3d1b4e1c7cf7':
  Fix a bug in getSocketError() in VpnService.

15 years agoam c22e0c80: Merge change 20719 into donut
Hung-ying Tyan [Wed, 12 Aug 2009 01:12:07 +0000 (18:12 -0700)]
am c22e0c80: Merge change 20719 into donut

Merge commit 'c22e0c8012828474e8aa2e29b441ef02728b0842'

* commit 'c22e0c8012828474e8aa2e29b441ef02728b0842':
  Fix order of setting/saving state in VpnService.

15 years agoam cb2b2378: Merge change 20729 into donut
Wu-cheng Li [Wed, 12 Aug 2009 01:12:00 +0000 (18:12 -0700)]
am cb2b2378: Merge change 20729 into donut

Merge commit 'cb2b2378c735e687c15e2af7f908c68ffae5fe90'

* commit 'cb2b2378c735e687c15e2af7f908c68ffae5fe90':
  Fix the bug that EXIF attributes are always cached.

15 years agoam abf44279: Fix NPE in SearchDialog (and thereby fix bug 2045398).
Karl Rosaen [Wed, 12 Aug 2009 01:11:40 +0000 (18:11 -0700)]
am abf44279: Fix NPE in SearchDialog (and thereby fix bug 2045398).

Merge commit 'abf44279add64c6f22a40592895225779b8481ea'

* commit 'abf44279add64c6f22a40592895225779b8481ea':
  Fix NPE in SearchDialog (and thereby fix bug 2045398).

15 years agoam 021fa3fa: Merge change 20665 into donut
Mike LeBeau [Wed, 12 Aug 2009 01:11:28 +0000 (18:11 -0700)]
am 021fa3fa: Merge change 20665 into donut

Merge commit '021fa3fa6fe88c33ad11a3139ebcd3a5be8eb953'

* commit '021fa3fa6fe88c33ad11a3139ebcd3a5be8eb953':
  First update of SearchManager docs to reflect the new Donut Quick Search Box feature.

15 years agoam 1e1b6b72: Merge change 20514 into donut
Jean-Michel Trivi [Wed, 12 Aug 2009 01:11:19 +0000 (18:11 -0700)]
am 1e1b6b72: Merge change 20514 into donut

Merge commit '1e1b6b7245a0a9212aa3b0366e7919f114895306'

* commit '1e1b6b7245a0a9212aa3b0366e7919f114895306':
  Fix bug 2022435.

15 years agoadd gservices setting for switching sync subscriptions to use a new routing info.
Debajit Ghosh [Tue, 11 Aug 2009 04:59:25 +0000 (21:59 -0700)]
add gservices setting for switching sync subscriptions to use a new routing info.

15 years agoMerge change 20865
Android (Google) Code Review [Wed, 12 Aug 2009 00:49:30 +0000 (17:49 -0700)]
Merge change 20865

* changes:
  Fix the build

15 years agoFix the build
Romain Guy [Wed, 12 Aug 2009 00:49:01 +0000 (17:49 -0700)]
Fix the build

15 years agoMerge change 20858
Android (Google) Code Review [Wed, 12 Aug 2009 00:28:49 +0000 (17:28 -0700)]
Merge change 20858

* changes:
  Don't let bmgr leave a restore session hanging on error

15 years agoFix for sending 16-bit SMS message with header.
jsh [Wed, 12 Aug 2009 00:25:37 +0000 (17:25 -0700)]
Fix for sending 16-bit SMS message with header.

Header length was missing from the PDU.  This addresses http://b/issue?id=2040561

15 years agoDon't let bmgr leave a restore session hanging on error
Christopher Tate [Mon, 10 Aug 2009 23:13:47 +0000 (16:13 -0700)]
Don't let bmgr leave a restore session hanging on error

Specifically, don't wait for the RestoreObserver to be informed that the restore
has completed unless performRestore() ran.  We were winding up in a case where
bmgr was hanging forever waiting on a nonexistent restore process instead of
calling endRestoreSession().

Also improve the documentation, explicitly calling out the need to call
endRestoreSession() even if previous operations on the session were
unsuccessful.

15 years agoRemove delay for key feedback bubble.
Amith Yamasani [Tue, 11 Aug 2009 23:42:51 +0000 (16:42 -0700)]
Remove delay for key feedback bubble.

Most users seem to expect the feedback to show up right away. So
remove the delay before the bubble shows up.

15 years agoSurfaceFlinger will now allocate buffers based on the usage specified by the clients...
Mathias Agopian [Tue, 11 Aug 2009 04:59:56 +0000 (21:59 -0700)]
SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything.

This change makes SurfaceHolder.setType(GPU) obsolete (it's now ignored).
Added an API to android_native_window_t to allow extending the functionality without ever breaking binary compatibility. This is used to implement the new set_usage() API. This API needs to be called by software renderers because the default is to use usage flags suitable for h/w.

15 years agoMerge change 20673 into donut
Android (Google) Code Review [Tue, 11 Aug 2009 22:18:29 +0000 (15:18 -0700)]
Merge change 20673 into donut

* changes:
  Fix bug 2043140. A race condition is encountered when an application invokes shutdown() on its TextToSpeech object while is has speak() requests still running. Since the TTS service destructor releases the synthesizer resources and sets the corresponding synth reference to null, an NPE was observed. The fix consists in catching NPEs whenever the sNativeSynth object is accessed, and return the matching error for the call. This change is a "low risk" version of the fix for bug 2025765i (same issue) which was reverted because it was higher risk than this CL: it affected the logic of each call to sNativeSynth. This CL only sets an error code when an NPE is fired because sNativeSynth is null.

15 years agoFix bug 2043140.
Jean-Michel Trivi [Mon, 10 Aug 2009 23:13:18 +0000 (16:13 -0700)]
Fix bug 2043140.
A race condition is encountered when an application invokes shutdown()
on its TextToSpeech object while is has speak() requests still running.
Since the TTS service destructor releases the synthesizer resources and
sets the corresponding synth reference to null, an NPE was observed.
The fix consists in catching NPEs whenever the sNativeSynth object is
accessed, and return the matching error for the call.
This change is a "low risk" version of the fix for bug 2025765i (same
issue) which was reverted because it was higher risk than this CL:
it affected the logic of each call to sNativeSynth. This CL only sets
an error code when an NPE is fired because sNativeSynth is null.

15 years agoMerge change 20806 into donut
Android (Google) Code Review [Tue, 11 Aug 2009 21:45:08 +0000 (14:45 -0700)]
Merge change 20806 into donut

* changes:
  Remove flaky auto complete tests from continuous.

15 years agoMerge change 20812
Android (Google) Code Review [Tue, 11 Aug 2009 21:43:02 +0000 (14:43 -0700)]
Merge change 20812

* changes:
  Fix possible exception in default live wallpaper

15 years agoFix possible exception in default live wallpaper
Romain Guy [Tue, 11 Aug 2009 21:42:19 +0000 (14:42 -0700)]
Fix possible exception in default live wallpaper

15 years agoRemove flaky auto complete tests from continuous.
Brett Chabot [Tue, 11 Aug 2009 21:31:30 +0000 (14:31 -0700)]
Remove flaky auto complete tests from continuous.

BUG 2036517