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

Commit eba1ad95 authored by Ken Wakasa's avatar Ken Wakasa Committed by Android Git Automerger
Browse files

am 82018f99: Forgot to reset the matrix of offscreen canvas

* commit '82018f99':
  Forgot to reset the matrix of offscreen canvas
parents 197c6034 82018f99
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -110,6 +110,7 @@ public final class GestureTrailsPreview extends AbstractDrawingPreview {

    private void freeOffscreenBuffer() {
        mOffscreenCanvas.setBitmap(null);
        mOffscreenCanvas.setMatrix(null);
        if (mOffscreenBuffer != null) {
            mOffscreenBuffer.recycle();
            mOffscreenBuffer = null;