40701 Commits

Author SHA1 Message Date
Jason Sams
bf2afed1f2 Correctly log debugging info as debug.
Change-Id: I1169e015288d7d91b7ecbdd991e815152740e68d
2011-01-18 18:22:19 -08:00
Jason Sams
e6a97e27bc Merge "Fix race condition between GC thread and the teardown of RS. The RS context was going away while the objects were being deleted within the finializer." into honeycomb 2011-01-18 18:18:06 -08:00
Jason Sams
148594a015 Merge "Cleanup logs." into honeycomb 2011-01-18 18:13:07 -08:00
Jason Sams
d1ac981497 Fix race condition between GC thread and
the teardown of RS.  The RS context was going away while
the objects were being deleted within the finializer.

Add more debugging for playCoreCommands.

Change-Id: I391f0b4db948f43f54017b47b062ab47d6a1ef64
2011-01-18 18:12:26 -08:00
Guang Zhu
c3db7c8f3b Merge "further remove calls to runFinalization" into honeycomb 2011-01-18 18:05:50 -08:00
Guang Zhu
3974be6163 further remove calls to runFinalization
apparently these calls may deadlock as well...

Change-Id: I83132aa50f4e49a170be2b960f6c3236f14745c9
2011-01-18 18:04:34 -08:00
Adam Powell
923757567e Merge "Fix bug 3362979 - Holo light overflow button has stale focused state" into honeycomb 2011-01-18 18:03:23 -08:00
Adam Powell
0e6c3385eb Fix bug 3362979 - Holo light overflow button has stale focused state
Change-Id: Id16dbbe2e800109b3cc2b491f3cd2c1e19c3bac2
2011-01-18 18:02:39 -08:00
Stephen Hines
66934423c8 Merge "Provide mechanism to switch between extern/static." into honeycomb 2011-01-18 17:50:19 -08:00
Dianne Hackborn
e641327052 Merge "Just a little 'ol activity manager permission change." into honeycomb 2011-01-18 17:49:05 -08:00
Dianne Hackborn
661b6cfb2b Merge "Okay, new plan for dialogs." into honeycomb 2011-01-18 17:48:22 -08:00
Dianne Hackborn
ef57575887 Okay, new plan for dialogs.
Don't dismiss by default when tapping outside, even for AlertDialog.

If AlertDialog doesn't have any buttons, tapping outside will dismiss it.

Applications can make their own dialogs (or activities looking like
dialogs) can use the existing and new APIs to control this behavior
themselves so that it does the right thing.

Change-Id: I02bfb9161e169de0033200211b3a7ec80080bd83
2011-01-18 17:35:17 -08:00
Elliott Hughes
ea6a3c706a Merge "Minor updates." into honeycomb 2011-01-18 17:25:05 -08:00
Elliott Hughes
c3839d3242 Minor updates.
Take into account Gingerbread JIT and GC improvements.

Change-Id: I170def3ac1ecac0ba88258b8d6bfdd77cb2f7f9a
2011-01-18 17:13:06 -08:00
Dianne Hackborn
6c2c5fc993 Just a little 'ol activity manager permission change.
We no longer enforce permissions for applications that are accessing
their own components.  This allows an application to require a permission
on one of its components that it does not itself have.  This is useful
for example with the new advanced widgets, which require a system-only
permission on the implementing service to ensure the app's data stays
private but it is nice to allow the application to still touch its own
widget service.

Change-Id: I5d61930a083816919545870039ad191314ed48c6
2011-01-18 17:02:33 -08:00
Jim Miller
31dae92650 Fix 3356338: Add recovery text to AccountUnlockScreen
This adds hint text to visit google.com/account/recovery if
the user forgets their google password.

Change-Id: I4c4c250b9e4116d2769b7760fdc291fa756c3db0
2011-01-18 17:02:04 -08:00
Adam Powell
6cfc7a0acb Merge "Fix bug 3365208 - Contextual Action Bar is not displayed when the context item is changing" into honeycomb 2011-01-18 16:57:59 -08:00
Stephen Hines
793786c258 Provide mechanism to switch between extern/static.
Change-Id: I59b1b45cc335278f92b68581594ca68115b9a590
2011-01-18 16:53:19 -08:00
Mathias Agopian
fc14d42b75 Merge "fix [3361121] hang in glClear() - device unresponsive, OTA fails" into honeycomb 2011-01-18 16:52:33 -08:00
Adam Powell
a1e6358a4c Fix bug 3365208 - Contextual Action Bar is not displayed when the context item is changing
Change-Id: I9e7ec4ab14c6008397d26c499ccf478f8875f918
2011-01-18 16:51:22 -08:00
Nick Pelly
b6b426ad1c Merge "Change Tag.getTechnology(NfcAdapter, int) to NfcAdapter.getTechnology(Tag, int)" into honeycomb-plus-aosp 2011-01-18 16:10:48 -08:00
Christopher Tate
17ed60c3d2 API CHANGE: add a no-View ctor for DragShadowBuilder
Cf conversation with the API council.  Also expand the javadoc
a bit.

Change-Id: I9d4edb1042e00492b3db5c6bb7c7d9648581efad
2011-01-18 16:07:06 -08:00
Romain Guy
745a529249 Merge "Smoother pinch-zoom in Browser." into honeycomb 2011-01-18 15:55:31 -08:00
Jack Palevich
a228e4f833 Merge "Unhide GLSurfaceView.get/setPreserveEGLContextOnPause" into honeycomb 2011-01-18 15:54:29 -08:00
John Reck
c098c1d348 Merge "Create db path if it doesn't exit" into honeycomb 2011-01-18 15:53:33 -08:00
Jack Palevich
75f2bc04df Unhide GLSurfaceView.get/setPreserveEGLContextOnPause
Change-Id: I882b8fa7888e2baae41c81b75af7fc1f639d38d6
2011-01-18 15:53:25 -08:00
Mathias Agopian
2e102a05ca fix [3361121] hang in glClear() - device unresponsive, OTA fails
Generally we never want to lock a buffer for write access if it is at
the "head" on the surfaceflinger side. The only exception (1) is when
the buffer is not currently in use AND there is at least one queued
buffer -- in which case, SurfaceFlinger will never use said buffer
anymore, because on the next composition around, it will be able to
retire the first queued buffer.

The logic above relies on SurfaceFlinger always retiring
and locking a buffer before composition -- unfortunately this
didn't happen during a screenshot.

This could leave us in a situation where a buffer is locked by the
application for write, and used by SurfaceFlinger for texturing,
causing a hang.

Here, we fix this issue by never assuming the exception (1), it was
intended as an optimization allowing ANativeWindow::lockBuffer() to
return sooner and was justified when most of SF composition was
done in software. The actual buffer locking is now ensured by
gralloc. We could have handled screenshots in a similar way to
a regular composition, but it could have caused glitches on screen,
essentially, taking a screenshot could cause to skip a frame.

Change-Id: I1f226b1ebdf6918439b687c2723955d55b842c55
2011-01-18 15:51:30 -08:00
Romain Guy
4f066784ec Smoother pinch-zoom in Browser.
Change-Id: Ie5a403b76ab25483a980324cd7b31976359fa796
2011-01-18 15:43:46 -08:00
John Reck
798378ee6c Create db path if it doesn't exit
Bug: 3241808
 Make sure the directory the caller is trying to open the icon db
 in actually exists and create it if it doesn't.

Change-Id: Ie5e4a09210e9430edc318846a551542119969053
2011-01-18 15:42:49 -08:00
Nick Pelly
06a00bd2d2 Change Tag.getTechnology(NfcAdapter, int) to NfcAdapter.getTechnology(Tag, int)
The later feels less clumsy.

Change-Id: I1bad37031c5d57f51b04c8ea6e41805dcd2935ec
2011-01-18 15:39:34 -08:00
Andreas Huber
f9846fcdf8 am 39560507: Merge "Apparently our native TCP sockets do not return an error from blocking "connect"" into honeycomb
* commit '39560507215774873ba64b5f0ff61648488924ea':
  Apparently our native TCP sockets do not return an error from blocking "connect"
2011-01-18 15:37:58 -08:00
Andreas Huber
3956050721 Merge "Apparently our native TCP sockets do not return an error from blocking "connect"" into honeycomb 2011-01-18 15:35:35 -08:00
Dianne Hackborn
2ec5a7160b am 36c84403: Merge "Fix issue #3362484: Can\'t dismiss activity picker by tapping outside dialog" into honeycomb
* commit '36c84403ec07439d11ed284ac5f9a9db807fbf92':
  Fix issue #3362484: Can't dismiss activity picker by tapping outside dialog
2011-01-18 15:32:44 -08:00
Dianne Hackborn
36c84403ec Merge "Fix issue #3362484: Can't dismiss activity picker by tapping outside dialog" into honeycomb 2011-01-18 15:31:21 -08:00
Jeff Brown
761a6b7fdb am f4368c95: Merge "Filter virtual keys after touches." into honeycomb
* commit 'f4368c959fa9436d75feb2543cb65da0d46521e5':
  Filter virtual keys after touches.
2011-01-18 15:29:28 -08:00
Dianne Hackborn
cfaf8878de Fix issue #3362484: Can't dismiss activity picker by tapping outside dialog
Change-Id: Idc2fe5a86c61e8f94fe9d902a0087a05f6f7918e
2011-01-18 15:28:41 -08:00
Andreas Huber
eee580a495 Apparently our native TCP sockets do not return an error from blocking "connect"
if the network interface is shutdown while connecting.

Change-Id: I1bd7e43475edf20f35e15dd4eae547126289f5f0
related-to-bug: 3362836
2011-01-18 15:26:40 -08:00
Jeff Brown
f4368c959f Merge "Filter virtual keys after touches." into honeycomb 2011-01-18 15:26:15 -08:00
Eric Fischer
18a7428dcb am 2c0d22e7: Merge "Import revised translations. DO NOT MERGE" into honeycomb
* commit '2c0d22e72c0e3fa1705e39eeaedfdbad89a785ce':
  Import revised translations.  DO NOT MERGE
2011-01-18 15:16:59 -08:00
Eric Fischer
2c0d22e72c Merge "Import revised translations. DO NOT MERGE" into honeycomb 2011-01-18 15:13:06 -08:00
Jeff Brown
fe50892af3 Filter virtual keys after touches.
Adds a new virtualKeyQuietTimeMillis configuration resource that sets
the duration for which virtual keys will be dropped after recent touches
on screen.  The default value is 0; it is intended to be overridden
per device using a resource overlay.

This change is designed to help in two cases:

1. Swipes from touchscreen into virtual key area.
2. Accidental taps in virtual key area while using on-screen keyboard.

Bug: 3089163
Change-Id: Ib912d4f8a4df9966a39cd537d3ec7c24afab7225
2011-01-18 15:10:45 -08:00
James Dong
d2225a06a3 am 1418de7e: Merge "Fix the sluggish preview during timelapse video recording because software encoder is used." into honeycomb
* commit '1418de7eff012c37cf34328eb368a547d70a1441':
  Fix the sluggish preview during timelapse video recording because software encoder is used.
2011-01-18 14:44:58 -08:00
James Dong
1418de7eff Merge "Fix the sluggish preview during timelapse video recording because software encoder is used." into honeycomb 2011-01-18 14:43:02 -08:00
Costin Manolache
bf8e162702 am b8b671df: Merge "Add back NEW_TASK flag." into honeycomb
* commit 'b8b671df4778d98d00267566ed129f734bbe13a3':
  Add back NEW_TASK flag.
2011-01-18 14:39:44 -08:00
Costin Manolache
b8b671df47 Merge "Add back NEW_TASK flag." into honeycomb 2011-01-18 14:37:24 -08:00
Eric Fischer
c6399ea957 Import revised translations. DO NOT MERGE
Change-Id: I4805367889be5c8a7a03591f11fea732f3b9edb7
2011-01-18 14:31:36 -08:00
Stephen Hines
780816b306 am 0e5f4e54: Merge "Validate that version pragma is correct." into honeycomb
* commit '0e5f4e549bec3bf998e1db3af47ccb353c31ff63':
  Validate that version pragma is correct.
2011-01-18 14:29:23 -08:00
James Dong
183fa14b47 Fix the sluggish preview during timelapse video recording because software encoder is used.
bug - 3361771

Change-Id: Ic5344e9eabe7f1b82910b65b4260e4ad8dc51c32
2011-01-18 14:28:37 -08:00
Eric Laurent
2d1362b7b4 am 74ff70d2: Merge "Fix typo" into honeycomb
* commit '74ff70d2f2e90c591c58723121bc26ab44a3adcc':
  Fix typo
2011-01-18 14:27:17 -08:00
Stephen Hines
0e5f4e549b Merge "Validate that version pragma is correct." into honeycomb 2011-01-18 14:26:24 -08:00