OSDN Git Service

android-x86/frameworks-base.git
14 years agoam 5126d3a3: docs only. revise samples link for offline docs to point to the current...
Scott Main [Tue, 1 Sep 2009 02:00:45 +0000 (19:00 -0700)]
am 5126d3a3: docs only. revise samples link for offline docs to point to the current version

Merge commit '5126d3a3794c8c5e1e61621daa5e9dab050b44a1' into eclair

* commit '5126d3a3794c8c5e1e61621daa5e9dab050b44a1':
  docs only.

14 years agoMerge change 23375 into eclair
Android (Google) Code Review [Tue, 1 Sep 2009 01:51:04 +0000 (18:51 -0700)]
Merge change 23375 into eclair

* changes:
  re-enable cancelation of the sync thread upon receipt of ISyncAdapter.cancelSync()

14 years agoMerge change 23363 into eclair
Android (Google) Code Review [Tue, 1 Sep 2009 01:13:24 +0000 (18:13 -0700)]
Merge change 23363 into eclair

* changes:
  Add error output to pm for FAILED_MISSING_FEATURE

14 years agodocs only.
Scott Main [Tue, 1 Sep 2009 01:04:52 +0000 (18:04 -0700)]
docs only.
revise samples link for offline docs to point to the current version

14 years agoMerge change 23381 into eclair
Android (Google) Code Review [Tue, 1 Sep 2009 00:46:47 +0000 (17:46 -0700)]
Merge change 23381 into eclair

* changes:
  Prevent ListView from scrolling/flinging its content when the content fits on screen.

14 years agoPrevent ListView from scrolling/flinging its content when the content fits on screen.
Romain Guy [Tue, 1 Sep 2009 00:45:55 +0000 (17:45 -0700)]
Prevent ListView from scrolling/flinging its content when the content fits on screen.

Change-Id: Id46313bca3ae53b0717cd74a4a6f889a01f9fcb1

14 years agoMerge change 23380 into eclair
Android (Google) Code Review [Tue, 1 Sep 2009 00:45:03 +0000 (17:45 -0700)]
Merge change 23380 into eclair

* changes:
  Change util_texSubImage2D to call glCompressedTexImage2D correctly.

14 years agoChange util_texSubImage2D to call glCompressedTexImage2D correctly.
Jack Palevich [Tue, 1 Sep 2009 00:42:50 +0000 (17:42 -0700)]
Change util_texSubImage2D to call glCompressedTexImage2D correctly.

Previously we had been setting the imageSize parameter to 0, which was
incorrect. According to the OpenGL ES spec for glCompressedTexImage2D
this parameter should be the size in bytes of the compressed data.

14 years agoDon't leak jni refs.
Joe Onorato [Tue, 1 Sep 2009 00:23:53 +0000 (17:23 -0700)]
Don't leak jni refs.

14 years agore-enable cancelation of the sync thread upon receipt of ISyncAdapter.cancelSync()
Fred Quintana [Tue, 1 Sep 2009 00:00:41 +0000 (17:00 -0700)]
re-enable cancelation of the sync thread upon receipt of ISyncAdapter.cancelSync()

14 years agoMerge change 23370 into eclair
Android (Google) Code Review [Tue, 1 Sep 2009 00:24:17 +0000 (17:24 -0700)]
Merge change 23370 into eclair

* changes:
  Revert "- don't schedule syncs that we will never dispatch"

14 years agoRevert "- don't schedule syncs that we will never dispatch"
Fred Quintana [Tue, 1 Sep 2009 00:20:08 +0000 (17:20 -0700)]
Revert "- don't schedule syncs that we will never dispatch"

This reverts commit fae7ff106b3ed791e324ddcec17226c3fe1cd809.

14 years agoMerge change 23329 into eclair
Android (Google) Code Review [Tue, 1 Sep 2009 00:15:42 +0000 (17:15 -0700)]
Merge change 23329 into eclair

* changes:
  Load bitmap resources entirely from native code.

14 years agoMerge change 23218 into eclair
Android (Google) Code Review [Mon, 31 Aug 2009 23:52:38 +0000 (16:52 -0700)]
Merge change 23218 into eclair

* changes:
  Fix property being cleared when DeviceFound signal is received.

14 years agoMerge change 23356 into eclair
Android (Google) Code Review [Mon, 31 Aug 2009 23:44:46 +0000 (16:44 -0700)]
Merge change 23356 into eclair

* changes:
  Temporarily unlock our mutex while fetching a buffer from the upstream source.

14 years agoAdd error output to pm for FAILED_MISSING_FEATURE
Xavier Ducrohet [Mon, 31 Aug 2009 23:40:30 +0000 (16:40 -0700)]
Add error output to pm for FAILED_MISSING_FEATURE

Change-Id: Ib9955b69b69db7d442402ab33e148cb40dec3d40

14 years agoTemporarily unlock our mutex while fetching a buffer from the upstream source.
Andreas Huber [Mon, 31 Aug 2009 23:27:47 +0000 (16:27 -0700)]
Temporarily unlock our mutex while fetching a buffer from the upstream source.

14 years agoMerge change 23357 into eclair
Android (Google) Code Review [Mon, 31 Aug 2009 23:33:10 +0000 (16:33 -0700)]
Merge change 23357 into eclair

* changes:
  Fix double-free problem in EmojiFactory.

14 years agoFix double-free problem in EmojiFactory.
Daisuke Miyakawa [Mon, 31 Aug 2009 23:32:24 +0000 (08:32 +0900)]
Fix double-free problem in EmojiFactory.

14 years agoMerge change 23338 into eclair
Android (Google) Code Review [Mon, 31 Aug 2009 22:39:07 +0000 (15:39 -0700)]
Merge change 23338 into eclair

* changes:
  Clean TTS logs: use a common TAG in the TTS service, don't show an error when loading the native synth lib.

14 years agoMerge change 23341 into eclair
Android (Google) Code Review [Mon, 31 Aug 2009 22:18:44 +0000 (15:18 -0700)]
Merge change 23341 into eclair

* changes:
  Fix replacement-after-add of resource files in overlay.

14 years agoMerge change 23344 into eclair
Android (Google) Code Review [Mon, 31 Aug 2009 22:18:43 +0000 (15:18 -0700)]
Merge change 23344 into eclair

* changes:
  Make vCard composer handle null of Photo entry correctly.

14 years agoMerge change 23343 into eclair
Android (Google) Code Review [Mon, 31 Aug 2009 22:18:28 +0000 (15:18 -0700)]
Merge change 23343 into eclair

* changes:
  Use Email.TYPE_MOBILE

14 years agoMake vCard composer handle null of Photo entry correctly.
Daisuke Miyakawa [Mon, 31 Aug 2009 22:17:20 +0000 (07:17 +0900)]
Make vCard composer handle null of Photo entry correctly.

Internal bug id: 2088922

14 years agoMerge change 23066 into eclair
Android (Google) Code Review [Mon, 31 Aug 2009 22:03:32 +0000 (15:03 -0700)]
Merge change 23066 into eclair

* changes:
  - don't schedule syncs that we will never dispatch - expedite the INITIALIZATION sync

14 years agoam 728157b4: Merge change 23242 into donut
Scott Main [Mon, 31 Aug 2009 22:02:35 +0000 (15:02 -0700)]
am 728157b4: Merge change 23242 into donut

Merge commit '728157b4af937bc34706b71c21e9d804ca83039d' into eclair

* commit '728157b4af937bc34706b71c21e9d804ca83039d':
  docs only.

14 years agoMerge change 23242 into donut
Android (Google) Code Review [Mon, 31 Aug 2009 22:00:36 +0000 (15:00 -0700)]
Merge change 23242 into donut

* changes:
  docs only. add uses-feature "name" attribute

14 years agoFix replacement-after-add of resource files in overlay.
Robert Greenwalt [Mon, 31 Aug 2009 21:48:20 +0000 (14:48 -0700)]
Fix replacement-after-add of resource files in overlay.

Aapt was adding/removing elements from a list an continuing to use a stale copy for future indexes.
This could cause incorrect subsequent processing.  Add an en resource and modify an es, for example.
Adding the en would cause the base fileset's es version to be moved in the list.  Using the old index
we'd then attempt to remove the old es version with the wrong index and then add the new es version
generating a "duplicate file" error.

bug: 2090015

14 years agodocs only.
Scott Main [Sat, 29 Aug 2009 21:41:57 +0000 (14:41 -0700)]
docs only.
add uses-feature "name" attribute

14 years agoClean TTS logs: use a common TAG in the TTS service, don't show
Jean-Michel Trivi [Mon, 31 Aug 2009 21:46:18 +0000 (14:46 -0700)]
Clean TTS logs: use a common TAG in the TTS service, don't show
an error when loading the native synth lib.

14 years agoMerge change 23335 into eclair
Android (Google) Code Review [Mon, 31 Aug 2009 21:44:03 +0000 (14:44 -0700)]
Merge change 23335 into eclair

* changes:
  Set RFCOMM SO_SNDBUF size to 70 KB for large RFCOMM writes.

14 years agoMerge change 23300 into eclair
Android (Google) Code Review [Mon, 31 Aug 2009 21:12:53 +0000 (14:12 -0700)]
Merge change 23300 into eclair

* changes:
  Add a synchronous stop method to TTS synth engine so that upon its destruction, if it was synthesing to a file, the latter can be deleted without still being written to. Clear the hashmap of SpeechItem to be stopped (mKillList) when the speech queue is empty.

14 years agoLoad bitmap resources entirely from native code.
Romain Guy [Mon, 31 Aug 2009 21:06:43 +0000 (14:06 -0700)]
Load bitmap resources entirely from native code.

Change-Id: I6660baec241794c40611bce79b7f9ce9479e52ba

14 years agoMerge change 23320 into eclair
Android (Google) Code Review [Mon, 31 Aug 2009 20:54:11 +0000 (13:54 -0700)]
Merge change 23320 into eclair

* changes:
  Set result code in REMOTE_INTENT receiver for subscribed feeds.

14 years agoUse Email.TYPE_MOBILE
Daisuke Miyakawa [Sun, 30 Aug 2009 23:26:06 +0000 (08:26 +0900)]
Use Email.TYPE_MOBILE

14 years agoSet RFCOMM SO_SNDBUF size to 70 KB for large RFCOMM writes.
Nick Pelly [Mon, 31 Aug 2009 20:33:06 +0000 (13:33 -0700)]
Set RFCOMM SO_SNDBUF size to 70 KB for large RFCOMM writes.

With a 64 KB OBEX MTU, net/rfcomm/sock.c:rfcomm_sock_sendmsg() quietly drops data.

The default SO_SNDBUF is 24 KB. Empircally, 36 KB still drops, and 38 KB no longer drops (this is because SO_SNDBUF is doubled in net/core/sock.c and then there is OBEX/RFCOMM overhead). Set to 70 KB so we have plenty of room to spare.

See http://b/2090000 to investigate this in more detail later.

14 years agoSet result code in REMOTE_INTENT receiver for subscribed feeds.
Ye Wen [Mon, 31 Aug 2009 19:57:50 +0000 (12:57 -0700)]
Set result code in REMOTE_INTENT receiver for subscribed feeds.

14 years agoMerge change 22995 into eclair
Android (Google) Code Review [Mon, 31 Aug 2009 19:07:07 +0000 (12:07 -0700)]
Merge change 22995 into eclair

* changes:
   modified:   res/layout/surface_view.xml  modified:   src/com/android/mediaframeworktest/MediaFrameworkTest.java  modified:   src/com/android/mediaframeworktest/functional/MediaPlayerApiTest.java         Fixed the async mp3 playback test case and also switch the base activity to full screen.

14 years ago modified: res/layout/surface_view.xml
Yu Shan Emily Lau [Thu, 27 Aug 2009 22:51:02 +0000 (15:51 -0700)]
modified:   res/layout/surface_view.xml
modified:   src/com/android/mediaframeworktest/MediaFrameworkTest.java
modified:   src/com/android/mediaframeworktest/functional/MediaPlayerApiTest.java
        Fixed the async mp3 playback test case and also switch the base activity to full screen.

modified:   src/com/android/mediaframeworktest/functional/MediaPlayerApiTest.java

modified:   tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaPlayerApiTest.java

modified:   tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaPlayerApiTest.java

14 years agoAdd a synchronous stop method to TTS synth engine so that upon its destruction,
Jean-Michel Trivi [Mon, 31 Aug 2009 17:41:55 +0000 (10:41 -0700)]
Add a synchronous stop method to TTS synth engine so that upon its destruction,
if it was synthesing to a file, the latter can be deleted without
still being written to.
Clear the hashmap of SpeechItem to be stopped (mKillList) when the speech
queue is empty.

14 years agoMerge change 23289 into eclair
Android (Google) Code Review [Mon, 31 Aug 2009 17:07:10 +0000 (10:07 -0700)]
Merge change 23289 into eclair

* changes:
  Fix http://b/issue?id=2086835 (unlock pattern graphics misaligned).

14 years agoMerge change 23277 into eclair
Android (Google) Code Review [Mon, 31 Aug 2009 16:38:56 +0000 (09:38 -0700)]
Merge change 23277 into eclair

* changes:
  Fix issue 2085690: AudioFlinger must properly terminate the input and output threads when destroyed.

14 years agoam 57f03f0b: Merge snapshot version of donut back into the main tree
Jean-Baptiste Queru [Mon, 31 Aug 2009 16:37:32 +0000 (09:37 -0700)]
am 57f03f0b: Merge snapshot version of donut back into the main tree

Merge commit '57f03f0b5d0228799111651aa6915f7d837d501e' into eclair

* commit '57f03f0b5d0228799111651aa6915f7d837d501e':
  donut snapshot

14 years agoMerge snapshot version of donut back into the main tree
Jean-Baptiste Queru [Mon, 31 Aug 2009 16:32:01 +0000 (09:32 -0700)]
Merge snapshot version of donut back into the main tree

14 years agodonut snapshot
Jean-Baptiste Queru [Mon, 31 Aug 2009 16:17:57 +0000 (09:17 -0700)]
donut snapshot

14 years agoAdding a column to Contacts, which will be used as an additional "soft" identity.
Dmitri Plotnikov [Sat, 29 Aug 2009 02:52:50 +0000 (19:52 -0700)]
Adding a column to Contacts, which will be used as an additional "soft" identity.

The main consumer of this feature is shortcuts.

The LOOKUP KEY column will contain an encoded concatenation of the contact's row id
as well as sync_ids of all constituent raw contacts. It goes with the "contacts/lookup/*/#" URI.

When we get such a URI, we will first try to load the
contact with the specified _id and lookup_key.  If we cannot find the contact
that way, we will go scout for the contact that contains most of the sync_ids
we found in the lookup key.

We will need to make sure that the contact picker returns the lookup-style URIs.

14 years agoFix http://b/issue?id=2086835 (unlock pattern graphics misaligned).
Daniel Sandler [Mon, 31 Aug 2009 15:07:49 +0000 (11:07 -0400)]
Fix b/issue?id=2086835 (unlock pattern graphics misaligned).

(Designers changed the dimensions of some of the graphics. DONT_DO_THAT.)

14 years agoFix issue 2085690: AudioFlinger must properly terminate the input and output threads...
Eric Laurent [Fri, 28 Aug 2009 17:39:03 +0000 (10:39 -0700)]
Fix issue 2085690: AudioFlinger must properly terminate the input and output threads when destroyed.

Call closeInput() for all inputs and closeOutput() for all outputs before deleting audio hardware in AudioFlinger destructor.

14 years agoMerge change 23266 into eclair
Android (Google) Code Review [Mon, 31 Aug 2009 07:22:42 +0000 (00:22 -0700)]
Merge change 23266 into eclair

* changes:
  disable canceling until the http connection code is understood

14 years agodisable canceling until the http connection code is understood
Fred Quintana [Mon, 31 Aug 2009 05:49:05 +0000 (22:49 -0700)]
disable canceling until the http connection code is understood

14 years agoapplications are at level 2
Joe Onorato [Sun, 30 Aug 2009 23:54:12 +0000 (16:54 -0700)]
applications are at level 2

14 years agoAdd a flag (-G) to aapt to have it output the classes that shouldn't be obfuscated...
Joe Onorato [Sun, 30 Aug 2009 20:36:22 +0000 (13:36 -0700)]
Add a flag (-G) to aapt to have it output the classes that shouldn't be obfuscated by ProGuard.

14 years agoMerge change 23223 into eclair
Android (Google) Code Review [Sun, 30 Aug 2009 20:33:57 +0000 (13:33 -0700)]
Merge change 23223 into eclair

* changes:
  SensorService: call close_data_source when we have no more sensor clients.

14 years agoMerge change 23187 into eclair
Android (Google) Code Review [Sun, 30 Aug 2009 19:02:07 +0000 (12:02 -0700)]
Merge change 23187 into eclair

* changes:
  Do not send dock state changed broadcasts until the system has finished booting.

14 years agoSensorService: call close_data_source when we have no more sensor clients.
Mike Lockwood [Sat, 29 Aug 2009 01:08:27 +0000 (18:08 -0700)]
SensorService: call close_data_source when we have no more sensor clients.

Change-Id: I94accda4571c3f2cf6f8a5b6801e37c30c027fe1
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoPut vibration patterns in resources.
Dianne Hackborn [Fri, 28 Aug 2009 05:15:53 +0000 (22:15 -0700)]
Put vibration patterns in resources.

Change-Id: Id78ee43b2d5672e8eaf66d27d6822d92c674f467

14 years agoMore work on wallpapers: animations, lifecycle, scaling, etc.
Dianne Hackborn [Fri, 28 Aug 2009 17:34:25 +0000 (10:34 -0700)]
More work on wallpapers: animations, lifecycle, scaling, etc.

Yet more work on improving the behavior of wallpapers.  This fixes a few
problems in their lifecycle (corresponding change in the picker also
required for this), makes their animations better for hardware that supports
alpha fades, adds animations for the wallpapers themselves, eliminates
fixed size wallpapers, and adjusts the API for retrieving a wallpaper
bitmap to take care of scaling the raw wallpaper image to match the current
desired width and height.

Change-Id: If1c0aaceba4ea4e175dcb7a8416ca7ddbb9bfa6f

14 years agoMerge change 23244 into eclair
Android (Google) Code Review [Sat, 29 Aug 2009 22:55:12 +0000 (15:55 -0700)]
Merge change 23244 into eclair

* changes:
  Add mobile Email type.

14 years agoAdd mobile Email type.
Jeff Sharkey [Sat, 29 Aug 2009 22:54:26 +0000 (15:54 -0700)]
Add mobile Email type.

14 years agoam a84a26d2: Merge change 23241 into donut
Scott Main [Sat, 29 Aug 2009 20:40:53 +0000 (13:40 -0700)]
am a84a26d2: Merge change 23241 into donut

Merge commit 'a84a26d2afab503ed32e6ecc94acba46a5eb9eb3' into eclair

* commit 'a84a26d2afab503ed32e6ecc94acba46a5eb9eb3':
  add searchable dictionary to html docs and dev guide nav

14 years agoMerge change 23241 into donut
Android (Google) Code Review [Sat, 29 Aug 2009 20:38:17 +0000 (13:38 -0700)]
Merge change 23241 into donut

* changes:
  add searchable dictionary to html docs and dev guide nav and add screenshots.

14 years agoadd searchable dictionary to html docs and dev guide nav
Scott Main [Sat, 29 Aug 2009 20:17:53 +0000 (13:17 -0700)]
add searchable dictionary to html docs and dev guide nav
and add screenshots.

14 years agoFix property being cleared when DeviceFound signal is received.
Jaikumar Ganesh [Fri, 28 Aug 2009 20:48:55 +0000 (13:48 -0700)]
Fix property being cleared when DeviceFound signal is received.

14 years agoadd the ability to specify yieldpoints in a ContentProviderOperation
Fred Quintana [Fri, 28 Aug 2009 21:36:42 +0000 (14:36 -0700)]
add the ability to specify yieldpoints in a ContentProviderOperation

14 years agoam af0b780a: Merge change 23198 into donut
Mike LeBeau [Fri, 28 Aug 2009 23:15:58 +0000 (16:15 -0700)]
am af0b780a: Merge change 23198 into donut

Merge commit 'af0b780ac6305eb6b6795cb8139ae051e13dd7ff' into eclair

* commit 'af0b780ac6305eb6b6795cb8139ae051e13dd7ff':
  Update SearchManager documentation to reflect latest behavior.

14 years agoMerge change 23198 into donut
Android (Google) Code Review [Fri, 28 Aug 2009 23:14:21 +0000 (16:14 -0700)]
Merge change 23198 into donut

* changes:
  Update SearchManager documentation to reflect latest behavior.

14 years agoUpdate SearchManager documentation to reflect latest behavior.
Mike LeBeau [Fri, 28 Aug 2009 22:03:02 +0000 (15:03 -0700)]
Update SearchManager documentation to reflect latest behavior.

14 years agoDon't mark an APN disabled if setup fails
Robert Greenwalt [Fri, 28 Aug 2009 00:11:56 +0000 (17:11 -0700)]
Don't mark an APN disabled if setup fails

We need to leave the phone in a connectable state so that it connects whenever it's able
(reception or just timing).  If we mark it disabled on failure it wont try again.  The retry
comes from the phone layer, not from ConnectivityService.

Also Fix the Phone layer so it retries even if it disconnected by request (DATA_DISABLED).
This was a bug from long ago that didn't become visible until recently with fast wifi and slow
mobile teardown.

Change-Id: I04bf39fba0cb578c87d5fc6ea5d220820ff9f364

14 years agoMerge change 23182 into eclair
Android (Google) Code Review [Fri, 28 Aug 2009 21:04:38 +0000 (14:04 -0700)]
Merge change 23182 into eclair

* changes:
  MO SMS fail after sending 100 messages

14 years agoam e1df8224: Merge change 23173 into donut
Brett Chabot [Fri, 28 Aug 2009 20:50:16 +0000 (13:50 -0700)]
am e1df8224: Merge change 23173 into donut

Merge commit 'e1df82248a68282a4d556ce61db09949fc186827' into eclair

* commit 'e1df82248a68282a4d556ce61db09949fc186827':
  Remove flaky test LifecycleTest.testDialog from large continuous suite.

14 years agoMerge change 23173 into donut
Android (Google) Code Review [Fri, 28 Aug 2009 20:48:09 +0000 (13:48 -0700)]
Merge change 23173 into donut

* changes:
  Remove flaky test LifecycleTest.testDialog from large continuous suite.

14 years agoRemove flaky test LifecycleTest.testDialog from large continuous suite.
Brett Chabot [Fri, 28 Aug 2009 20:42:10 +0000 (13:42 -0700)]
Remove flaky test LifecycleTest.testDialog from large continuous suite.

BUG 1866891

Change-Id: Ifef98426cf3879fc9f17aa5a0891578fefa54ce3

14 years agoDo not send dock state changed broadcasts until the system has finished booting.
Mike Lockwood [Thu, 27 Aug 2009 23:19:07 +0000 (16:19 -0700)]
Do not send dock state changed broadcasts until the system has finished booting.

Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoMerge change 23169 into eclair
Android (Google) Code Review [Fri, 28 Aug 2009 20:35:25 +0000 (13:35 -0700)]
Merge change 23169 into eclair

* changes:
  More assert => CHECK

14 years agoMerge change 23127 into eclair
Android (Google) Code Review [Fri, 28 Aug 2009 20:34:38 +0000 (13:34 -0700)]
Merge change 23127 into eclair

* changes:
  Fixing bug 2086021. AccessiblityService could sometimes get a null pointer exception if multiple accessibility services are running and there are several events all happening within a short period of time.

14 years agoMore assert => CHECK
Andreas Huber [Fri, 28 Aug 2009 20:32:48 +0000 (13:32 -0700)]
More assert => CHECK

14 years agoMerge change 23168 into eclair
Android (Google) Code Review [Fri, 28 Aug 2009 20:31:28 +0000 (13:31 -0700)]
Merge change 23168 into eclair

* changes:
  EventHub: Fix file descriptor leak.

14 years agoMerge change 23165 into eclair
Android (Google) Code Review [Fri, 28 Aug 2009 20:30:51 +0000 (13:30 -0700)]
Merge change 23165 into eclair

* changes:
  Fixes a race condition between entering ERROR state and initial buffer submit.

14 years agoMerge change 22940 into eclair
Android (Google) Code Review [Fri, 28 Aug 2009 20:30:18 +0000 (13:30 -0700)]
Merge change 22940 into eclair

* changes:
  Fix bug 2040024 phone rings only once sometimes.

14 years agoEventHub: Fix file descriptor leak.
Mike Lockwood [Fri, 28 Aug 2009 20:29:06 +0000 (13:29 -0700)]
EventHub: Fix file descriptor leak.

Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoFixes a race condition between entering ERROR state and initial buffer submit.
Andreas Huber [Fri, 28 Aug 2009 20:18:14 +0000 (13:18 -0700)]
Fixes a race condition between entering ERROR state and initial buffer submit.

14 years agoMerge change 23064 into eclair
Android (Google) Code Review [Fri, 28 Aug 2009 19:44:40 +0000 (12:44 -0700)]
Merge change 23064 into eclair

* changes:
  Implement async data/subData.  Implement TriangleMeshBuilder in SimpleMesh which replaces TriangleMesh.  Update Film to use new builder.

14 years agoMO SMS fail after sending 100 messages
Yong Liu [Fri, 21 Aug 2009 20:29:14 +0000 (15:29 -0500)]
MO SMS fail after sending 100 messages

After sending 100 messages, SMSDispatcher always displays dialog to user to
confirm the sending. If the user sends messages too fast then there will be more
than one dialogs waiting for the response, but SMSDisptcher can only handle one.

14 years agoFixing bug 2086021. AccessiblityService could sometimes get a null pointer
Charles Chen [Fri, 28 Aug 2009 18:32:23 +0000 (11:32 -0700)]
Fixing bug 2086021. AccessiblityService could sometimes get a null pointer
exception if multiple accessibility services are running and there are
several events all happening within a short period of time.

14 years agoFix bug 2040024 phone rings only once sometimes.
Wink Saville [Fri, 28 Aug 2009 18:10:09 +0000 (11:10 -0700)]
Fix bug 2040024 phone rings only once sometimes.

The phone only rang once on rings that did't loop. In the GSM phones
the vendor ril sends a RIL_UNSOL_CALL_RING event to cause the phone
to properly play non-looping ring tones. To reproduce select a non-looping
ring tone such as "Digital Phone" and call it from another phone, the
phone will only ring once.

Three solutions were discussed:

*) Have all ring tones loop; rejected because to more space would be taken
by the silence.

*) Require all vendor RIL's to send RIL_UNSOL_CALL_RING; rejected because
it is inefficient to send a notification from the bottom of the stack.

*) Modify the PhoneApp or the audio layer; rejected because it would be
to big of change.

*) Modify the framework; this is the solution accepted.

The framework was modified to use two now properties to control the
call ring notification.

ro.telephony.multiple_call_ring: a boolean that if true the vendor ril
is assumed to send multiple RIL_UNSOL_CALL_RING messages. If false
only one is assumed and the framework will generate additional events.
(The default if absent is true).

ro.telephony.call_ring_delay: the delay in milli-seconds between
the generated events. (default if absent is 3000)

To minimize code duplication this change does some reorganization
of the PhoneBase class hierarchy and PhoneBase becomes a handler
and implements a default handleMessage method handles events associated
with call ring notification. This handler is overridden by derived
classes, CDMAPhone and GSMPhone which will pass unknown events
to PhoneBase.handleMessage and thus handle call notification for any
derived class.

Change-Id: I5b147b2b69b647d9987052f16ada41c9b66e4bf1

14 years agoMerge change 23023 into eclair
Android (Google) Code Review [Fri, 28 Aug 2009 17:48:29 +0000 (10:48 -0700)]
Merge change 23023 into eclair

* changes:
  Armor string format tokens with translation placeholders.

14 years agoMerge change 23108 into eclair
Android (Google) Code Review [Fri, 28 Aug 2009 17:43:54 +0000 (10:43 -0700)]
Merge change 23108 into eclair

* changes:
  Launch synthesis thread at max priority to prevent hicups in playback. Return and log an error when an operation cannot be completed because the speech queue is locked longer than the timeout period. Log cleanup.

14 years agoArmor string format tokens with translation placeholders.
Eric Fischer [Fri, 28 Aug 2009 00:22:26 +0000 (17:22 -0700)]
Armor string format tokens with translation placeholders.

Change-Id: I2f1b1f0e9b028a9f66c4543afe5c7bdce486db15

14 years agodon't layout when setting size from zoom if only height changed
Cary Clark [Thu, 27 Aug 2009 19:42:57 +0000 (15:42 -0400)]
don't layout when setting size from zoom if only height changed

(companion change in external/webkit)
Add a boolean parameter to WebViewCore.java nativeSizeSize().
If set, only layout if the width has also changed.
If clear, layout if the height alone has changed.
Layout is clear when called from zoom setup, and set otherwise.

14 years agoLaunch synthesis thread at max priority to prevent hicups in playback.
Jean-Michel Trivi [Fri, 28 Aug 2009 16:25:11 +0000 (09:25 -0700)]
Launch synthesis thread at max priority to prevent hicups in playback.
Return and log an error when an operation cannot be completed because
the speech queue is locked longer than the timeout period.
Log cleanup.

14 years agoMerge change 22988 into eclair
Android (Google) Code Review [Fri, 28 Aug 2009 16:12:28 +0000 (09:12 -0700)]
Merge change 22988 into eclair

* changes:
  Only add model in the UA for the release build

14 years agoMerge change 23103 into eclair
Android (Google) Code Review [Fri, 28 Aug 2009 15:42:33 +0000 (08:42 -0700)]
Merge change 23103 into eclair

* changes:
  Fixing the build.

14 years agoFixing the build.
Andreas Huber [Fri, 28 Aug 2009 15:40:00 +0000 (08:40 -0700)]
Fixing the build.

14 years agoFinal high-density frameworks artwork drop from designers (dated 25-Aug-2009).
Daniel Sandler [Thu, 27 Aug 2009 23:26:00 +0000 (19:26 -0400)]
Final high-density frameworks artwork drop from designers (dated 25-Aug-2009).

14 years agoMerge change 23077 into eclair
Android (Google) Code Review [Fri, 28 Aug 2009 07:45:56 +0000 (00:45 -0700)]
Merge change 23077 into eclair

* changes:
  optimize MCC table

14 years agoresolved conflicts for merge of 1e348378 to eclair
Mike LeBeau [Fri, 28 Aug 2009 06:54:12 +0000 (23:54 -0700)]
resolved conflicts for merge of 1e348378 to eclair

14 years agooptimize MCC table
Tammo Spalink [Thu, 23 Jul 2009 02:50:57 +0000 (10:50 +0800)]
optimize MCC table

Replace a table of objects that was created at boot
in a costly manner, with a pre-generated table of
more densely formatted numerical data.

Based on data from runhat on the phone process,
this looks to shrink the memory footprint from about
16kB to less then 2kB.

Addresses http://buganizer/issue?id=874072

Change-Id: I5a7b9d7de4c9b9a0360e8370252582969fbd8d4f

14 years agoAdd platform infrastructure for features.
Dianne Hackborn [Fri, 28 Aug 2009 03:08:01 +0000 (20:08 -0700)]
Add platform infrastructure for features.

This introduces a new mechanism to define features associated with
a platform, query the current device for the available features,
and enforce that apps requiring features that aren't available can't
be installed.

Also now allows uses-library to specify that a library is optional,
so the lack of such a library will not prevent the app from being
installed (but if it does exist it will be correctly linked into
the app).

Change-Id: I5b369b46cfa0b3d37c9e08fd14ef1098a978e67b

14 years agoMerge change 23067 into eclair
Android (Google) Code Review [Fri, 28 Aug 2009 04:49:05 +0000 (21:49 -0700)]
Merge change 23067 into eclair

* changes:
  allow delaying after yielding

14 years agoallow delaying after yielding
Fred Quintana [Fri, 28 Aug 2009 04:41:27 +0000 (21:41 -0700)]
allow delaying after yielding