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

Commit 42231f4f authored by Alec Mouri's avatar Alec Mouri Committed by Android (Google) Code Review
Browse files

Merge "Respect source crop when capturing layers."

parents 60b342e8 814bf978
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -5074,10 +5074,6 @@ status_t SurfaceFlinger::captureScreen(const sp<IBinder>& displayToken,
        display = getDisplayDeviceLocked(displayToken);
        if (!display) return BAD_VALUE;

        // ignore sourceCrop (i.e., use the projected logical display
        // viewport) until the framework is fixed
        sourceCrop.clear();

        // set the requested width/height to the logical display viewport size
        // by default
        if (reqWidth == 0 || reqHeight == 0) {