Go to file
Mathias Agopian 4f11374018 Fix a race-condtion in SurfaceFlinger that could lead to a crash.
Client::mLayers could be accessed from different threads.
On one side from Client::attachLayer() which is currently
called from a binder thread; on the other side from
Client::detachLayer() which is always called from the main
thread.

This could lead to a corruption of Client::mLayers.

We fix this issue by adding an internal lock to Client.

Change-Id: Ib1317d7750ed5030e6f577efe34b69fc10198bd3
2011-05-03 16:21:41 -07:00
cmds Replace a custom AndroidRuntime::findClass with a more targeted fix. 2011-04-13 16:43:15 -07:00
include get rid of dependency on copybit HAL module 2011-04-28 19:50:21 -07:00
libs Merge "libgui: enable tests in the 'tests' build." 2011-04-28 15:03:56 -07:00
opengl get rid of dependency on copybit HAL module 2011-04-28 19:50:21 -07:00
services/surfaceflinger Fix a race-condtion in SurfaceFlinger that could lead to a crash. 2011-05-03 16:21:41 -07:00
vpn Make VpnService synchronous API. 2011-01-20 12:51:43 +08:00
MODULE_LICENSE_APACHE2
NOTICE resolved conflicts for merge of adee6b35 to honeycomb-plus-aosp 2011-01-17 14:17:12 -08:00