40704 Commits

Author SHA1 Message Date
Jeff Brown
660c81bf3e am 2cb866b9: Merge "Never drag scroll views with no children." into honeycomb
* commit '2cb866b948c38923b31331a9b2f031eb9d791e6e':
  Never drag scroll views with no children.
2011-01-19 17:05:57 -08:00
Mathias Agopian
a665843425 am 8bb9131c: Merge "fix [3367893] Rotating device on YouTube\'s home screen several times kills system_server" into honeycomb
* commit '8bb9131c663b5c4548eed1d9f964d06bccfc4da6':
  fix [3367893] Rotating device on YouTube's home screen several times kills system_server
2011-01-19 17:03:51 -08:00
Jeff Brown
2cb866b948 Merge "Never drag scroll views with no children." into honeycomb 2011-01-19 17:03:08 -08:00
Mathias Agopian
8bb9131c66 Merge "fix [3367893] Rotating device on YouTube's home screen several times kills system_server" into honeycomb 2011-01-19 17:01:22 -08:00
Mathias Agopian
578b7a2265 fix [3367893] Rotating device on YouTube's home screen several times kills system_server
A typo in RS tear down cause caused eglMakeCurrent to fail. Additionnaly,
EGLSurfaces where not destroyed explicitely.
Everything worked properly when only one RS context was used, as
eglTerminate() would clean-up everything.

however in the present case, there seem to be more than one RS context
and eglTerminate() is not called.

Change-Id: I37a10945b9c0a85c4f7abad1c4f4c24bc0daa0a5
2011-01-19 16:58:10 -08:00
Romain Guy
208ee2291c am eefc8248: Merge "Fix toasts." into honeycomb
* commit 'eefc82483a90f641275db3084b78c8254cc45046':
  Fix toasts.
2011-01-19 16:53:28 -08:00
Romain Guy
eefc82483a Merge "Fix toasts." into honeycomb 2011-01-19 16:51:44 -08:00
Romain Guy
cf3dd6bc69 Fix toasts.
Change-Id: I11916c55e8092169d2ab28c100bc7a152d60d432
2011-01-19 16:54:13 -08:00
Jason Sams
095852bb57 am 1368436e: Merge "Check and propogate errors from llvm." into honeycomb
* commit '1368436e428e2af1241bf88cb0688f288f96da1c':
  Check and propogate errors from llvm.
2011-01-19 16:51:20 -08:00
Jason Sams
1368436e42 Merge "Check and propogate errors from llvm." into honeycomb 2011-01-19 16:49:17 -08:00
Christopher Tate
67265808c1 am 28f0a53a: Merge "Fail more gracefully when window state changes during drags" into honeycomb
* commit '28f0a53a882a39bc22bc5892250411cadf6c0d5d':
  Fail more gracefully when window state changes during drags
2011-01-19 16:43:14 -08:00
Amith Yamasani
a70868a25c am 1c0012e1: Merge "Ensure that the column is valid before querying." into honeycomb
* commit '1c0012e103a380489fe4a150247cd226de9a89a6':
  Ensure that the column is valid before querying.
2011-01-19 16:43:10 -08:00
Christopher Tate
28f0a53a88 Merge "Fail more gracefully when window state changes during drags" into honeycomb 2011-01-19 16:41:14 -08:00
Amith Yamasani
1c0012e103 Merge "Ensure that the column is valid before querying." into honeycomb 2011-01-19 16:40:14 -08:00
Mathias Agopian
d4e6e8b8e9 am 0fb9c5dc: Merge "improve SurfaceFlinger \'dumpsys\' log" into honeycomb
* commit '0fb9c5dcc76af44a1f6e3c9243d03a0a222ad2bb':
  improve SurfaceFlinger 'dumpsys' log
2011-01-19 16:34:56 -08:00
Mathias Agopian
0fb9c5dcc7 Merge "improve SurfaceFlinger 'dumpsys' log" into honeycomb 2011-01-19 16:31:32 -08:00
Dianne Hackborn
1426d6bdd8 am b26a651b: Merge "Hook up large heap API." into honeycomb
* commit 'b26a651b47b5fc90a6685477aff5b76fdd1787f1':
  Hook up large heap API.
2011-01-19 16:30:53 -08:00
Jason Sams
39b38919c2 am 9dd9d021: Merge "Expose unchecked copyFrom variants." into honeycomb
* commit '9dd9d021896e350df983baf7174d980a43533e69':
  Expose unchecked copyFrom variants.
2011-01-19 16:28:41 -08:00
Dianne Hackborn
b26a651b47 Merge "Hook up large heap API." into honeycomb 2011-01-19 16:28:31 -08:00
Jason Sams
9dd9d02189 Merge "Expose unchecked copyFrom variants." into honeycomb 2011-01-19 16:27:06 -08:00
Christopher Tate
f01af7551b Fail more gracefully when window state changes during drags
In particular, if a new window was created out from under the drag,
the drag-move event dispatch logic would wind up blithly assuming
that it would find a valid touch-dispatchable window under the
finger.  When this was untrue, it would NPE, but the NPE was caught
and discarded safely by higher-level guard code.

With this change, we now avoid the NPE entirely and report the
spurious condition as part of the debugging log stream.

(Also add the local-state object to DragEvent.toString()'s output.)

Change-Id: Idfa5f45d049e48415ee59c8b0ffb5b0ed4098ce3
2011-01-19 16:25:22 -08:00
Amith Yamasani
de6e2ca7fb Ensure that the column is valid before querying.
Bug: 3303147
Change-Id: Ieec93317c5a2e924d3ee3108b61577b636943160
2011-01-19 16:19:35 -08:00
Joe Onorato
df2b1d1c87 am b2b14397: Merge "Cut a hole in the status bar for events when the IME is open." into honeycomb
* commit 'b2b14397e522da4d779b19415eab49967a7922d9':
  Cut a hole in the status bar for events when the IME is open.
2011-01-19 16:16:18 -08:00
Mathias Agopian
06a61e2fa8 improve SurfaceFlinger 'dumpsys' log
list the purgatory, which shows windows that have been closed,
but for which the client still has references.

Change-Id: I5168bb88cb328d5d77d71d0871deb9190f493126
2011-01-19 16:15:53 -08:00
Jason Sams
fdc54a97ee Check and propogate errors from llvm.
Change-Id: Id99a724f746d1f64eabcdf67c12646cc32ff8f9d
2011-01-19 16:14:21 -08:00
Joe Onorato
b2b14397e5 Merge "Cut a hole in the status bar for events when the IME is open." into honeycomb 2011-01-19 16:14:14 -08:00
Joe Onorato
ab7cf4e2f7 am 4defed42: Merge changes I3814b491,Ic3a7f4c0 into honeycomb
* commit '4defed42916dfe086eb450ca02d9c9a53e2018d9':
  Pass SkRegion::toString() through to java.
  Remove optimization to isInContentArea that wasn't working.
2011-01-19 16:14:03 -08:00
Dianne Hackborn
de39851592 Hook up large heap API.
Change-Id: I215644f8de326fe3d4fa582447885b0aa01f72d3
2011-01-19 16:13:18 -08:00
Mike Lockwood
3c1f64c4ad am 62097ad6: Merge "@hide MediaStore.ACTION_MTP_SESSION_END" into honeycomb
* commit '62097ad654bcab30057f56b46bbac5c41cfe9ec0':
  @hide MediaStore.ACTION_MTP_SESSION_END
2011-01-19 16:11:55 -08:00
Joe Onorato
4defed4291 Merge changes I3814b491,Ic3a7f4c0 into honeycomb
* changes:
  Pass SkRegion::toString() through to java.
  Remove optimization to isInContentArea that wasn't working.
2011-01-19 16:11:04 -08:00
Mike Lockwood
62097ad654 Merge "@hide MediaStore.ACTION_MTP_SESSION_END" into honeycomb 2011-01-19 16:09:49 -08:00
Gilles Debunne
8d2480ca39 am 0c44d1db: Merge "Race condition patched in Email autocompletion." into honeycomb
* commit '0c44d1dbb152ed16df4eb2af39157f3d281323d9':
  Race condition patched in Email autocompletion.
2011-01-19 16:09:43 -08:00
Gilles Debunne
0c44d1dbb1 Merge "Race condition patched in Email autocompletion." into honeycomb 2011-01-19 16:08:20 -08:00
Mike Lockwood
e222872a77 @hide MediaStore.ACTION_MTP_SESSION_END
BUG: 3370230

Change-Id: Idc05512930ceab8f91e3ddf0969a3b17deab2f62
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-19 16:07:25 -08:00
Gloria Wang
113529f062 am a4b0cdc9: Merge "More fix for 64 bit offset." into honeycomb
* commit 'a4b0cdc96e309168517f4b4da24b7647668f99a7':
  More fix for 64 bit offset.
2011-01-19 15:59:13 -08:00
Gloria Wang
a4b0cdc96e Merge "More fix for 64 bit offset." into honeycomb 2011-01-19 15:57:23 -08:00
Jason Sams
4fa3eed8e0 Expose unchecked copyFrom variants.
Change-Id: I452d082bb4adbd578b6300bf5829dc59e91e517a
2011-01-19 15:44:38 -08:00
Gloria Wang
d0423d2b12 More fix for 64 bit offset.
Change-Id: Ia05060113ca0f43a4362914dc99c89c89e30eb4a
2011-01-19 15:38:16 -08:00
Joe Onorato
201dd78412 am cb109a0e: Add docs for Notification.Builder.
* commit 'cb109a0eeaca12cdd954c567da4fc5f45a23213b':
  Add docs for Notification.Builder.
2011-01-19 15:34:04 -08:00
Joe Onorato
020460b610 Cut a hole in the status bar for events when the IME is open.
Bug: 3238092
Change-Id: I8af18c2ebada624fbf5baee09b4b7ef98a7c8205
2011-01-19 15:29:31 -08:00
Joe Onorato
120856c50a Pass SkRegion::toString() through to java.
Change-Id: I3814b491c689313c1f8da811a104d913175f6268
2011-01-19 15:29:31 -08:00
Joe Onorato
6223fba87e Remove optimization to isInContentArea that wasn't working.
This might fix the bug where tapping outside the notification panel doesn't close it.

I'm not 100% sure because I can't reproduce this on-demand, but I think it's possible for
onSizeChanged to race with the animations and we end up with a bad rectangle.  The time
I did see it happen was tapping above the title area right after canceling a notification,
so that could explain it I think.

Bug: 3339023
Change-Id: Ic3a7f4c059e7bf6f30b864a371a0912a6414edb7
2011-01-19 15:29:31 -08:00
Joe Onorato
cb109a0eea Add docs for Notification.Builder.
Bug: 3362451
Change-Id: I8f16a7f266812190dc8d06751f5ca914e2050111
2011-01-19 15:29:30 -08:00
Jaikumar Ganesh
baba247578 am 7457b36b: Merge "Make connection / disconnect failure more robust." into honeycomb
* commit '7457b36b92490daa6cd7e346919fad74a4b92eb9':
  Make connection / disconnect failure more robust.
2011-01-19 15:24:33 -08:00
Andreas Huber
559da2fd89 am 3cd6302b: Merge "Prefill the cache before trying to instantiate the media extractor." into honeycomb
* commit '3cd6302b9e54ff888df5eb47b35d25e7dac1d763':
  Prefill the cache before trying to instantiate the media extractor.
2011-01-19 15:24:28 -08:00
Brad Fitzpatrick
bd80a12cba resolved conflicts for merge of 9240f16d to honeycomb-plus-aosp
Change-Id: I6e595bb11a5a692ccd730b9d1d2aa367063a61f5
2011-01-19 15:19:08 -08:00
Jaikumar Ganesh
7457b36b92 Merge "Make connection / disconnect failure more robust." into honeycomb 2011-01-19 15:13:37 -08:00
Andreas Huber
3cd6302b9e Merge "Prefill the cache before trying to instantiate the media extractor." into honeycomb 2011-01-19 15:12:41 -08:00
Gilles Debunne
be2c4f92a9 Race condition patched in Email autocompletion.
Bug 3347962

Root cause of this problem: if the adapter's content gets updated by a backgroung
thread, the PopupDataSetObserver will call showDropDown which will popup the
list.

Added a flag to make this call show the popup iif it is already visible.
This relayout is needed to clear the mDataChanged flag set when the content was
modified and which otherwise prevents touch events on the result list.

ArrayAdapter didn't use its lock to protect access to mObject.

-------------------------------------------------

However, the study of the this race conditions revealed an other bug:

Updated adapter's content is not displayed in filtered AutoCompleteTextView
Bug 3369097

Change-Id: Icd90d452f98231866f4d8a1f6994c1492febecb9
2011-01-19 15:10:09 -08:00
Andreas Huber
9634665ed6 Prefill the cache before trying to instantiate the media extractor.
The latter is an operation that otherwise could block on the datasource
for a significant amount of time. During that time we'd be unable to
abort the preparation phase without this prefill.

Change-Id: Ia42496d88a11314386ea8797d665bf4e94871e30
related-to-bug: 3362836
2011-01-19 15:07:19 -08:00