Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e46016d0 authored by Mathias Agopian's avatar Mathias Agopian Committed by Android (Google) Code Review
Browse files

Merge "Fix Recent thumbnails aren't taken when leaving an activity via notification"

parents 1d6ec511 0abe83a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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]);