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

Commit d429d79e authored by Shawn Lin's avatar Shawn Lin Committed by android-build-merger
Browse files

Merge "Fixed notification background shifted in landscape" into qt-dev

am: 43a7706f

Change-Id: Iabfe0b25239714d614011157e47ccef37300058c
parents f0df0a5f 43a7706f
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -2484,9 +2484,8 @@ public class NotificationStackScrollLayout extends ViewGroup implements ScrollAd
     */
    @ShadeViewRefactor(RefactorComponent.SHADE_VIEW)
    private void updateBackgroundBounds() {
        getLocationInWindow(mTempInt2);
        int left = mTempInt2[0] + mSidePaddings;
        int right = mTempInt2[0] + getWidth() - mSidePaddings;
        int left = mSidePaddings;
        int right = getWidth() - mSidePaddings;
        for (NotificationSection section : mSections) {
            section.getBounds().left = left;
            section.getBounds().right = right;