Commit Graph

37613 Commits

Author SHA1 Message Date
Mathias Agopian
3477588d13 Merge "Read leftover parcel data when a parceled Surface is found in the cache." 2011-08-10 19:45:34 -07:00
Mathias Agopian
f440f670a4 Merge changes I5174a6ec,I1f8538b6,Idb71fdcf
* changes:
  fix a crasher in SurfaceTexture::updateTexImage()
  rework dequeueBuffer()'s main loop.
  error out when SurfaceTexture APIs are called while not connected
2011-08-10 19:40:48 -07:00
Mathias Agopian
b2928c9068 Merge "Fix typos and use new HAL_PRIORITY_URGENT_DISPLAY constant" 2011-08-10 19:40:15 -07:00
Daniel Sandler
8cc43181c6 Merge "Subtract the navigation bar from DisplayMetrics." 2011-08-10 18:54:20 -07:00
Chia-chi Yeh
0b5a003b83 Merge "Unhide APIs for user space VPN." 2011-08-10 17:42:45 -07:00
Chia-chi Yeh
1f9930ed6d Merge "VPN: remove unused protected intent." 2011-08-10 17:42:30 -07:00
Bjorn Bringert
83788a04ef Merge "Add PendingIntent extra for WEB_SEARCH intents" 2011-08-10 17:39:08 -07:00
Mathias Agopian
8e19c2e97e fix a crasher in SurfaceTexture::updateTexImage()
we now make sure to drain the buffer queue on disconnect.
this happens only when in synchrnous mode. in async mode
we clear all buffers except the head of the queue.

for extra safety we also catch the null pointer
in updateTexImage (which should  never happen) and return
an error.

Bug: 5111008

Change-Id: I5174a6ecbb0de641c6510ef56a611cbb4e9e1f59
2011-08-10 17:35:52 -07:00
Mathias Agopian
2560d14ce8 rework dequeueBuffer()'s main loop.
this simplifies the code a bit and also makes sure
we reevaluate mAbandoned and mConnectedApi each time
we come back from waiting on mDequeueCondition

Change-Id: I1f8538b62ad321b51ed79d953b700036daba796d
2011-08-10 17:35:26 -07:00
Mathias Agopian
ef51b99219 error out when SurfaceTexture APIs are called while not connected
- also log a warning when freeAllBuffers is called with a non empty buffer queue
- rename freeAllBuffers to freeAllBuffersLocked

Change-Id: Idb71fdcf233b9ccae62d5a2a7c3c4bad2501d877
2011-08-10 17:33:46 -07:00
Jeff Brown
94b7c1b511 Merge "Add input system to Watchdog. Bug: 5094994" 2011-08-10 17:28:15 -07:00
Jeff Brown
78a8a5b31f Merge "Fix getSwitchState and others to check bitmasks. Bug: 5149443" 2011-08-10 17:28:09 -07:00
Jeff Brown
cc0692b3ee Merge "Use BTN_TOUCH or BTN_TOOL_* to determine if touch active. Bug: 5064702" 2011-08-10 17:28:05 -07:00
Jeff Brown
dc67136bd5 Merge "Update keymaps. Bug: 5069142" 2011-08-10 17:27:59 -07:00
Amith Yamasani
8294646593 Merge "Pass in the title of the preference as a title for the ringtone picker dialog." 2011-08-10 17:12:05 -07:00
Winson Chung
41a16ef2a1 Merge "Fixing screenshot timestamp (5147168)" 2011-08-10 16:23:52 -07:00
Amith Yamasani
3b9b18477b Merge "Accessibility and silent mode changes to Volume Panel." 2011-08-10 16:17:03 -07:00
Irfan Sheriff
9dcf98f4da Merge "Ensure interface down before wpa_supplicant start" 2011-08-10 16:04:50 -07:00
Marco Nelissen
df53b72c2b Merge "Check pids instead of IBinders" 2011-08-10 15:48:53 -07:00
Kenny Root
b78a455cda Merge "Manifest digest stored during package scanning" 2011-08-10 15:39:41 -07:00
Gilles Debunne
2b0ae6f2ad Merge "SuggestionEnabled flag enforced in ActionPopup" 2011-08-10 15:17:40 -07:00
Gloria Wang
31269f72f4 Merge "To reduce the bytes need to be buffered before start playing the streaming video. We might revert this change if too many spinnings were introduced. For bug 4448008." 2011-08-10 14:52:36 -07:00
Kenny Root
bc4970007f Merge "Eliminate warnings from PackageParser" 2011-08-10 14:28:13 -07:00
Andreas Huber
4a058dc065 Merge "When using "secure input buffer mode" we instantiate a different OMX component" 2011-08-10 13:03:29 -07:00
Andreas Huber
d373933109 Merge "Revert "Notify the OMX component that it's going to be used in "secure" mode."" 2011-08-10 13:03:24 -07:00
Dianne Hackborn
617d0667b9 Merge "New extended Intent protcols for installing/uninstalling apps." 2011-08-10 12:34:21 -07:00
Daniel Sandler
aebc0cf48f Merge "Initial support for notification panel access in keyguard." 2011-08-10 12:23:50 -07:00
Irfan Sheriff
fe7a762291 Merge "Add firmware reload support for P2P" 2011-08-10 12:19:58 -07:00
James Dong
fe5da4456d Merge "Fix initial 0 duration video sample in the recorded videos" 2011-08-10 11:47:38 -07:00
Mike Lockwood
7e80029c4e Merge "Use video/webm mime type for WEBM files" 2011-08-10 10:28:25 -07:00
Mike Lockwood
03cd79f29d Merge "MediaScanner: Disable bulk inserts" 2011-08-10 10:28:18 -07:00
Irfan Sheriff
e44778e767 Merge "Do not log failed pre shared key" 2011-08-10 10:19:24 -07:00
Jaikumar Ganesh
fbeded10fe Merge "Bluetooth : fix for bluetooth turning on issue.(limit: 64times)" 2011-08-10 10:10:49 -07:00
Gloria Wang
44ee4a36b2 Merge "To support for switching from a non-null surface/ surface texture to a null one, and vice versa. Fix for bug 5137445." 2011-08-10 09:28:50 -07:00
Jean-Michel Trivi
6e01812667 Merge "AudioService: don't use a soft reference on IRemoteControlClient" 2011-08-10 09:19:20 -07:00
Wu-cheng Li
c8604e7ff7 Merge "Unhide camera face detection API." 2011-08-10 02:55:29 -07:00
Ashish Sharma
7a2aeee01b Merge "Network traffic accounting for chromium stack support in mediaserver." 2011-08-09 23:21:11 -07:00
Ted Bonkenburg
e5d6eb81e2 Read leftover parcel data when a parceled Surface is found in the cache.
This fixes an issue where the Surface readFromParcel code was leaving
unread parcel data in the case where the Surface was re-used from the
sCachedSurfaces cache. On a cache miss the code is creating a new
Surface from the remainder of the parcel data. On a hit that data was
being left unread, so anything that parcels a Surface followed by
additional arguments may end up reading the wrong values.

Change-Id: I25365159d945c125bd1fcc9f17e39a4f00aece55
2011-08-09 22:45:38 -07:00
Nick Pelly
8901de1324 Merge "Add NFC to airplane mode" 2011-08-09 22:27:22 -07:00
Jeff Sharkey
665c94fac6 Merge "Enable network stats module by default." 2011-08-09 21:02:55 -07:00
Romain Guy
c3b4a077d6 Merge "Add a return value for SurfaceTextureListener#onSurfaceTextureDestroyed." 2011-08-09 20:23:22 -07:00
Daniel Sandler
39ed5d1121 Merge "Forcibly recalculate size of the notification expanded view." 2011-08-09 19:36:48 -07:00
Daniel Sandler
f0cc847c87 Merge "Add settings button to notification panel." 2011-08-09 19:36:12 -07:00
Daniel Sandler
f78336469f Merge "Fix obviously broken DateTimeView.onAttachedToWindow()." 2011-08-09 19:35:57 -07:00
Irfan Sheriff
05e6c04180 Merge "DnsPinger -- log setup problems" 2011-08-09 19:28:26 -07:00
Mathias Agopian
a11499a026 Fix typos and use new HAL_PRIORITY_URGENT_DISPLAY constant
Change-Id: I703f8a96dd0dfec427e74363ad95729bfefc95c7
2011-08-09 18:57:37 -07:00
Fabrice Di Meglio
46909cfd1c Merge "Fix bug #5017432 NPE when mixing different spans with different font sizes" 2011-08-09 18:35:20 -07:00
Adam Powell
69a4c227c4 Merge "Fix bug 5080988 - State change to action views made in onPrepareOptionsMenu will be lost" 2011-08-09 18:18:44 -07:00
Sean Cotter
75086cc069 Merge "Improve language for dialogs with force close button, including removing Sorry! title and rephrasing messages. Bug: 5064440" 2011-08-09 17:57:33 -07:00
Jaikumar Ganesh
8fd6a7cb6d Merge "Check for BT state when sending Bond State Change intent." 2011-08-09 17:33:18 -07:00