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

Commit e94b3ba0 authored by Ching Tzung Lin's avatar Ching Tzung Lin Committed by Android (Google) Code Review
Browse files

Merge "Factor chin size into dimension checking to determine if...

Merge "Factor chin size into dimension checking to determine if CircularDisplayMask can be turned on." into cw-e-dev
parents a53bbb65 9c57af4c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ class CircularDisplayMask {
            int screenOffset, int maskThickness) {
        mScreenSize = new Point();
        display.getSize(mScreenSize);
        if (mScreenSize.x != mScreenSize.y) {
        if (mScreenSize.x != mScreenSize.y + screenOffset) {
            Slog.w(TAG, "Screen dimensions of displayId = " + display.getDisplayId() +
                    "are not equal, circularMask will not be drawn.");
            mDimensionsUnequal = true;