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

Commit 285cf2d7 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

Change-Id: If638998c5012b5ebb68cca77b257a991b09827a9
parents 69a039eb 63d2e41d
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];