summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2011-08-24 17:53:21 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-08-24 17:53:21 -0700
commit7d0dd6addba0f72acb30eea7e9804f56f8c8646f (patch)
tree1cc878ec109e7e55eb8f4c827a24c19e5895a9ac /services/surfaceflinger
parent4dded27cb5f79f45d781b4012c54e0314182e235 (diff)
parente328134b8fa4e5bfe0277a1fa55a9fbd99d27ef0 (diff)
downloadframeworks_base-7d0dd6addba0f72acb30eea7e9804f56f8c8646f.zip
frameworks_base-7d0dd6addba0f72acb30eea7e9804f56f8c8646f.tar.gz
frameworks_base-7d0dd6addba0f72acb30eea7e9804f56f8c8646f.tar.bz2
Merge "Fix Recent thumbnails aren't taken when leaving an activity via notification"
Diffstat (limited to 'services/surfaceflinger')
-rw-r--r--services/surfaceflinger/SurfaceFlinger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp
index 0080202..6fde361 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]);