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

Commit d0d23f6a authored by Craig Mautner's avatar Craig Mautner Committed by Android (Google) Code Review
Browse files

Merge "Disable time consuming debugging code." into klp-dev

parents bb8aae5b 4697bea3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5724,7 +5724,7 @@ public class WindowManagerService extends IWindowManager.Stub
        canvas.drawBitmap(rawss, matrix, null);
        canvas.setBitmap(null);

        if (true || DEBUG_SCREENSHOT) {
        if (DEBUG_SCREENSHOT) {
            // TEST IF IT's ALL BLACK
            int[] buffer = new int[bm.getWidth() * bm.getHeight()];
            bm.getPixels(buffer, 0, bm.getWidth(), 0, 0, bm.getWidth(), bm.getHeight());