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

Commit 50769f88 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

am: d429d79e

Change-Id: Iccc67709695f4981818eab3d3f6a4f135e1b0e28
parents 18052e1f d429d79e
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;