Commit Graph

4931 Commits

Author SHA1 Message Date
Android (Google) Code Review
5b4617486a Merge change Ie5d93b7e into eclair
* changes:
  Set the Bond State to NONE when we receive a Agent Cancel.
2009-10-08 16:11:13 -04:00
Android (Google) Code Review
d4bd259ba6 Merge change I95319bde into eclair
* changes:
  Fixes #2175599. Prevents an NPE when AttachInfo is null.
2009-10-08 13:53:54 -04:00
Android (Google) Code Review
6fc8f1c5e4 Merge change Ib977f2bd into eclair
* changes:
  Make vCard import Photo from vCard file :(
2009-10-08 13:49:39 -04:00
Android (Google) Code Review
b55acf4902 Merge change I50a321c9 into eclair
* changes:
  LocationManagerService: Fix race when removing LocationListener
2009-10-08 12:58:48 -04:00
Android (Google) Code Review
33b9fc3502 Merge change Ib7c34cec into eclair
* changes:
  dumpstate: 'RAMCONSOLE' -> 'LAST KMSG'
2009-10-08 11:11:50 -04:00
Android (Google) Code Review
8147d73714 Merge change I29232f2a into eclair
* changes:
  Only dismiss search dialog after launching intent.
2009-10-08 04:49:23 -04:00
Android (Google) Code Review
b03ef1fbcb Merge change Iea48361d into eclair
* changes:
  fix an NPE on a race condition that occurs when unbinding from an authenticator at the samer time that its process dies: bug 2171204
2009-10-08 03:50:07 -04:00
Android (Google) Code Review
bbc4b4e754 Merge change Id8c9cb2f into eclair
* changes:
  More fix #2163209: alarm clock rings but is hidden behind lock screen
2009-10-08 00:58:46 -04:00
Android (Google) Code Review
5ce17499c6 Merge change I52479480 into eclair
* changes:
  Retry overlay create if it fails. Bug 2153980.
2009-10-08 00:07:05 -04:00
Dave Sparks
587f7830a1 Retry overlay create if it fails. Bug 2153980.
Occasionally we see references to the overlay hanging around long
enough to cause problems in applications when they tried to destroy
the overlay and re-create it. This patch causes the camera HAL to
retry the overlay creation call if it fails every 20ms up to 50
times before it gives up.
2009-10-07 19:22:02 -07:00
Android (Google) Code Review
a6d0e97638 Merge change Ibd2197fb into eclair
* changes:
  Add script to script call support.  Add exception to catch out of bound index data when added to TriangleMeshBuilder.
2009-10-07 21:18:01 -04:00
Doug Zongker
1bc1e2a3fd am 3161795b: when logging free space on /data, log /system and /cache as well
Merge commit '3161795b2353171bb0636fb3ea6dab7dec80a4f4' into eclair

* commit '3161795b2353171bb0636fb3ea6dab7dec80a4f4':
  when logging free space on /data, log /system and /cache as well
2009-10-07 18:17:06 -07:00
Android (Google) Code Review
c3f90813a1 Merge change I46b2df15 into eclair
* changes:
  fix [2164183] sometimes device just wants to stay asleep
2009-10-07 21:09:49 -04:00
Android (Google) Code Review
11590bbe1c Merge change Id23b791a into eclair
* changes:
  fix [2170283] SurfaceFlinger crashes on OOM.
2009-10-07 21:07:05 -04:00
Mathias Agopian
d3144beec6 fix [2170283] SurfaceFlinger crashes on OOM.
when running out of memory, a null handle is returned but the error code may not be set.
In that case we need to return NO_MEMORY instead of NO_ERROR, so that the calling code
won't try to dereference the null pointer.
2009-10-07 18:03:35 -07:00
Mathias Agopian
8f2d505216 fix [2164183] sometimes device just wants to stay asleep
When switching rapidily orientation back and forth, surfaces end-up
acquiring the freeze-lock when the first orientation change happens,
but never release it because by the time the 2nd orientation change
comes in, the surface size is back to its original size and
doesn't appear to have resized.

we now always release the freeze-lock when we receive a buffer of the
expected size.
2009-10-07 17:58:29 -07:00
Android (Google) Code Review
28541629e1 Merge change Ie05f07df into eclair
* changes:
  fix [2170319] gmail bulk operation checkbox latency on passion
2009-10-07 20:25:08 -04:00
Android (Google) Code Review
0cb5825a7d Merge change I7a57637b into eclair
* changes:
  [Issue 2165234] Removing nickname clusters: John/Jack and Patrick/Rick.
2009-10-07 19:59:07 -04:00
Mathias Agopian
e700501d0e fix [2170319] gmail bulk operation checkbox latency on passion
This also fixes [2152536] ANR in browser

When SF is enqueuing buffers faster than SF dequeues them.
The update flag in SF is not counted and under some situations SF will only
dequeue the first buffer. The state at this point is not technically
corrupted, it's valid, but just delayed by one buffer.

In the case of the Browser ANR, because the last enqueued buffer was delayed
the resizing of the current buffer couldn't happen.

The system would always fall back onto its feet if anything -else- in
tried to draw, because the "late" buffer would be picked up then.
2009-10-07 16:44:10 -07:00
Android (Google) Code Review
4f23490970 Merge change Ieed8be00 into eclair
* changes:
  Introduce BluetoothAdapter.getDefaultAdapter().
2009-10-07 19:26:59 -04:00
Android (Google) Code Review
dcdd8ba3be Merge change Ia4879943 into eclair
* changes:
  Encourage developers to connect RFCOMM by UUID instead of Channel.
2009-10-07 18:04:45 -04:00
Android (Google) Code Review
8e53c5595d Merge change Ia78b0a2d into eclair
* changes:
  add (hidden) setHasAlpha() to allow clients like the view's cache to hint that a bitmap is opaque.
2009-10-07 15:22:50 -04:00
Android (Google) Code Review
b1219016f1 Merge change I9db1edea into eclair
* changes:
  Import revised translations.   DO NOT MERGE
2009-10-07 14:36:15 -04:00
Android (Google) Code Review
b4055a63dc Merge change I2c5f1e76 into eclair
* changes:
  Fix back button handling in ACTV
2009-10-07 01:55:33 -04:00
Mathias Agopian
67838bc112 Revert "temporarily disable the use of glTexImage2D for sw buffers on sholes."
This reverts commit c131c5671965b69b0dee3e4afa3b3dd5e3c0c405.

Approved by Hiroshi
2009-10-06 22:23:23 -07:00
Android (Google) Code Review
21fd586f18 Merge change I3429f77a into eclair
* changes:
  Suppress flaky test HeapTest#testOomeLarge.
2009-10-06 22:35:27 -04:00
Android (Google) Code Review
c87104f17c Merge change I4961c959 into eclair
* changes:
  fix [2152536] ANR in browser
2009-10-06 22:10:17 -04:00
Mathias Agopian
9ec430adae fix [2152536] ANR in browser
A window is created and the browser is about to render into it the
very first time, at that point it does an IPC to SF to request a new
buffer. Meanwhile, the window manager removes that window from the
list and the shared memory block it uses is marked as invalid.
However, at that point, another window is created and is given the
same index (that just go freed), but a different identity and resets
the "invalid" bit in the shared block. When we go back to the buffer
allocation code, we're stuck because the surface we're allocating for
is gone and we don't detect it's invalid because the invalid bit has
been reset.

It is not sufficient to check for the invalid bit, I should
also check that identities match.
2009-10-06 19:00:57 -07:00
Eric Laurent
f5e868baf9 Fix issue 2139634: DTMF tones on Sholes popping, hissing (audio latency too high).
This change is a complement to the main fix in kernel driver for the same issue (partner change #1250).
It removes clicks sometimes heard after the end of the tones while audio flinger is sending 0s to the audio output stream.
The problem was that the sleep time between two writes was more than the duration of one audio output stream buffer which could cause some underrun.

Also fixed a recent regression in ToneGenerator that made that the end of previous tone was repeated at the beginning of current one under certain timing circumstances when the maximum tone duration was specified.
2009-10-06 18:59:35 -07:00
Mathias Agopian
cfc7010ef8 temporarily disable the use of glTexImage2D for sw buffers on sholes.
we're going to first cut a build without this change.

Approved by Dr. Hiroshi.
2009-10-06 17:59:43 -07:00
Android (Google) Code Review
ef8646344a Merge changes I430cf57b,I51f02f67,I464f13f3 into eclair
* changes:
  fix [2168528] enable glTexImage2D code path in SF for software-only buffers
  fix [2168531] have software-only gralloc buffer side-step the HAL
  fix [2167050] glTexImage2D code path buggy in SurfaceFlinger
2009-10-06 20:46:37 -04:00
Mathias Agopian
a4b740ed89 fix [2168528] enable glTexImage2D code path in SF for software-only buffers 2009-10-06 17:24:26 -07:00
Android (Google) Code Review
255f3917c6 Merge change I996db8da into eclair
* changes:
  Fix tls crash on startup if more than one RS contexts are created in one process.
2009-10-06 20:18:40 -04:00
Mathias Agopian
b26af23744 fix [2168531] have software-only gralloc buffer side-step the HAL 2009-10-06 17:00:25 -07:00
Mathias Agopian
3330b20303 fix [2167050] glTexImage2D code path buggy in SurfaceFlinger
When EGLImage extension is not available, SurfaceFlinger will fallback to using
glTexImage2D and glTexSubImage2D instead, which requires 50% more memory and an
extra copy. However this code path has never been exercised and had some bugs
which this patch fix.

Mainly the scale factor wasn't computed right when falling back on glDrawElements.
We also fallback to this mode of operation if a buffer doesn't have the adequate
usage bits for EGLImage usage.

This changes only code that is currently not executed. Some refactoring was needed to
keep the change clean. This doesn't change anything functionaly.
2009-10-06 17:00:25 -07:00
Android (Google) Code Review
0ad3f9f400 Merge change I3d6cf8aa into eclair
* changes:
  Fix for bug 2158794. Hide MediaPlayer.invoke() and MediaPlayer.newRequest(), and Fix bad links in ToneGenerator documentation.
2009-10-06 18:34:40 -04:00
Android (Google) Code Review
411922605a Merge change Id8df149c into eclair
* changes:
  Turn some logging back on in ConnectionManager
2009-10-06 17:38:03 -04:00
Android (Google) Code Review
7430c6b798 Merge change If933b13d into eclair
* changes:
  Fix for 2161835: Tweaks to rotary lock screen:
2009-10-06 17:34:17 -04:00
Android (Google) Code Review
56810d6b39 Merge change I516c3191 into eclair
* changes:
  Implement data push from scripts.  Fixes the problem where apps would have to poll to monitor a scripts state. Fix bug in StoreState where state could be overridden by the default unless the script used more than one state.
2009-10-06 17:32:13 -04:00
Android (Google) Code Review
20f89768dc Merge change I547cff66 into eclair
* changes:
  Add zoom functions and sendCommand.
2009-10-06 16:32:44 -04:00
Wu-cheng Li
e6a550d02f Add zoom functions and sendCommand.
b2060030
2009-10-06 13:25:10 -07:00
Android (Google) Code Review
7854a35326 Merge change I5be3d603 into eclair
* changes:
      Make sdk version and code names static finals in PackageParser.     Remove api to set these values.     Remove an unused method in AppSecurityPermissions
2009-10-06 14:36:43 -04:00
Android (Google) Code Review
5923f6f880 Merge change I6a0b14bd into eclair
* changes:
  Make VCardComposer create the instance for mHandlerList.
2009-10-06 13:48:11 -04:00
Android (Google) Code Review
1812987a10 Merge change I8333dcc4 into eclair
* changes:
  New section header and divider assets.
2009-10-06 13:14:45 -04:00
Android (Google) Code Review
b68a3424fc Merge change I76d7ba61 into eclair
* changes:
  Pixel tweak search dialog to match search widget
2009-10-06 12:49:51 -04:00
Android (Google) Code Review
e336514381 Merge change I24895c35 into eclair
* changes:
  Reimplement all the method of Paint for layoutlib
2009-10-06 12:49:01 -04:00
Android (Google) Code Review
b3e21a7c93 Merge change I5b650a61 into eclair
* changes:
  dumpstate: Emit a logcat message at beginning and end of execution.
2009-10-06 00:09:07 -04:00
Android (Google) Code Review
b608f6c350 Merge change I61aac7b3 into eclair
* changes:
  Add PERIOD char to CDMA address sugar list.
2009-10-05 22:19:46 -04:00
Android (Google) Code Review
8657c4d319 Merge change I4db3a5b3 into eclair
* changes:
  fix a javadoc build breakage
2009-10-05 20:22:27 -04:00
Android (Google) Code Review
0718996fe0 Merge change I34f51342 into eclair
* changes:
  Fix the layoutlib test to run from adt-tests.
2009-10-05 18:58:36 -04:00