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

Commit fb4e1c21 authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android Git Automerger
Browse files

am 25b49734: Merge "Fix issue #8540550: Screenshots should never have transparency" into jb-mr2-dev

* commit '25b49734':
  Fix issue #8540550: Screenshots should never have transparency
parents aa313948 25b49734
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5490,6 +5490,7 @@ public class WindowManagerService extends IWindowManager.Stub
        ScreenRotationAnimation.createRotationMatrix(rot, dw, dh, matrix);
        matrix.postTranslate(-FloatMath.ceil(frame.left*scale), -FloatMath.ceil(frame.top*scale));
        Canvas canvas = new Canvas(bm);
        canvas.drawColor(0xFF000000);
        canvas.drawBitmap(rawss, matrix, null);
        canvas.setBitmap(null);