commit | 0d1561275e80073807ac04728951782d943f8882 | [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 | f189ad0370adce9633a9c4c038742134afa4df7f | |
parent | 83af2252023296623c3f8883530f89e89983d9c7 [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) {