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

Commit 96921b66 authored by Xiaohui Chen's avatar Xiaohui Chen
Browse files

sysui: fix notification background position

Bug: 28552487
Change-Id: Ie85c8fec7e2ff0160e77da778c5d0c2da2fc383b
(cherry picked from commit 806d3ee9138633df58c712cfb6b302bddd79b337)
parent 88e87300
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1835,8 +1835,9 @@ public class NotificationStackScrollLayout extends ViewGroup
     * Update the background bounds to the new desired bounds
     */
    private void updateBackgroundBounds() {
        mBackgroundBounds.left = (int) getX();
        mBackgroundBounds.right = (int) (getX() + getWidth());
        getLocationInWindow(mTempInt2);
        mBackgroundBounds.left = mTempInt2[0];
        mBackgroundBounds.right = mTempInt2[0] + getWidth();
        if (!mIsExpanded) {
            mBackgroundBounds.top = 0;
            mBackgroundBounds.bottom = 0;