diff options
| author | 2011-08-24 17:53:21 -0700 | |
|---|---|---|
| committer | 2011-08-24 17:53:21 -0700 | |
| commit | e46016d0520a0ad0e7da7ffdef68905565124cba (patch) | |
| tree | 6c6bfee55c6c3a4e9a451f7d3e613b41ffdfa727 | |
| parent | 1d6ec5118a875f8e3e97c922eb1f51b6a182304e (diff) | |
| parent | 0abe83a680d1f410c28b755eb4b3d6bee30c39dd (diff) | |
Merge "Fix Recent thumbnails aren't taken when leaving an activity via notification"
| -rw-r--r-- | services/surfaceflinger/SurfaceFlinger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp index 0080202621..6fde36169e 100644 --- a/services/surfaceflinger/SurfaceFlinger.cpp +++ b/services/surfaceflinger/SurfaceFlinger.cpp @@ -2207,7 +2207,7 @@ status_t SurfaceFlinger::captureScreenImplLocked(DisplayID dpy, return BAD_VALUE; // make sure none of the layers are protected - const Vector< sp<LayerBase> >& layers(mVisibleLayersSortedByZ); + const LayerVector& layers(mDrawingState.layersSortedByZ); const size_t count = layers.size(); for (size_t i=0 ; i<count ; ++i) { const sp<LayerBase>& layer(layers[i]); |