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

Unverified Commit 065a0c0f authored by Michael Bestas's avatar Michael Bestas
Browse files

fixup! SystemUI: screenshot: open long screenshot activity for partial screenshots

Change-Id: Ia08f09a3b6c1ae5e5b06e101634977ef7081ea55
parent beadf1ad
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -847,7 +847,7 @@ public class ScreenshotController {

    private void startPartialScreenshotActivity(UserHandle owner) {
        DisplayMetrics displayMetrics = new DisplayMetrics();
        getDefaultDisplay().getRealMetrics(displayMetrics);
        getDisplay().getRealMetrics(displayMetrics);

        Bitmap newScreenshot = mImageCapture.captureDisplay(mDisplayId,
                new Rect(0, 0, displayMetrics.widthPixels, displayMetrics.heightPixels));