commit | d35c6667c8233385f31aa203f486b2cb826bf6be | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Tue Jan 25 20:17:45 2011 -0800 |
committer | Mathias Agopian <mathias@google.com> | Tue Jan 25 20:52:46 2011 -0800 |
tree | 7e565ff5bc3df082b597ecd9d8f94bbff6a374e9 | |
parent | 2aaa776429f58069e25c8160a9e5b9a969f6e993 [diff] [blame] |
fix [3385504] Surface flinger hang when adding dim surface Change-Id: I8e0cda414bcad5854d2ca5dde8370bfd8b2e5ea4
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp index 291ebc5..87b66ea 100644 --- a/services/surfaceflinger/SurfaceFlinger.cpp +++ b/services/surfaceflinger/SurfaceFlinger.cpp
@@ -1088,7 +1088,7 @@ { sp<LayerBaseClient> lbc(layerBase->getLayerBaseClient()); if (lbc != 0) { - mLayerMap.removeItem( lbc->getSurface()->asBinder() ); + mLayerMap.removeItem( lbc->getSurfaceBinder() ); } ssize_t index = mCurrentState.layersSortedByZ.remove(layerBase); if (index >= 0) {