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

Commit 7d0dd6ad 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 4dded27c e328134b
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]);