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

Commit bac23b4f authored by Alain Vongsouvanh's avatar Alain Vongsouvanh Committed by android-build-merger
Browse files

Properly set the center of the circular mask. am: 63d2e41d

am: 285cf2d7

Change-Id: I7ebd39225bff8740d486d38f4668eeb8fd83da56
parents 3494413b 285cf2d7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -242,7 +242,7 @@ class CircularDisplayMask {
        }

        double cx = (maskWidth - 1.0) / 2.0;
        double cy = (maskHeight - 1.0) / 2.0;
        double cy = (maskHeight - 1.0 + mScreenOffset) / 2.0;
        double radius = maskWidth / 2.0;
        int[] pixels = new int[maskWidth * maskHeight];