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

Commit a4aaafdf authored by Jeff DeCew's avatar Jeff DeCew Committed by Automerger Merge Worker
Browse files

Merge "Fix lock screen overlap test." into tm-qpr-dev am: f0ed9f3d am: 66632187

parents f33e8313 66632187
Loading
Loading
Loading
Loading
+11 −0
Original line number Original line Diff line number Diff line
@@ -229,6 +229,17 @@ public class NotificationShelf extends ActivatableNotificationView implements
        mActualWidth = actualWidth;
        mActualWidth = actualWidth;
    }
    }


    @Override
    public void getBoundsOnScreen(Rect outRect, boolean clipToParent) {
        super.getBoundsOnScreen(outRect, clipToParent);
        final int actualWidth = getActualWidth();
        if (isLayoutRtl()) {
            outRect.left = outRect.right - actualWidth;
        } else {
            outRect.right = outRect.left + actualWidth;
        }
    }

    /**
    /**
     * @return Actual width of shelf, accounting for possible ongoing width animation
     * @return Actual width of shelf, accounting for possible ongoing width animation
     */
     */