Merge "Fix Recent thumbnails aren't taken when leaving an activity via notification"
This commit is contained in:
commit
e46016d052
@ -2207,7 +2207,7 @@ status_t SurfaceFlinger::captureScreenImplLocked(DisplayID dpy,
|
|||||||
return BAD_VALUE;
|
return BAD_VALUE;
|
||||||
|
|
||||||
// make sure none of the layers are protected
|
// 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();
|
const size_t count = layers.size();
|
||||||
for (size_t i=0 ; i<count ; ++i) {
|
for (size_t i=0 ; i<count ; ++i) {
|
||||||
const sp<LayerBase>& layer(layers[i]);
|
const sp<LayerBase>& layer(layers[i]);
|
||||||
|
Loading…
Reference in New Issue
Block a user