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

Commit 7b8d3914 authored by Steve Elliott's avatar Steve Elliott
Browse files

fix gap in expanded bundle w/ physical notif mvmt

Flag: com.android.systemui.notification_bundle_ui
Fixes: 435243545
Test: manual
Change-Id: Ibc18f42eabbbc78b325ba0fcf49277dbe266f489
parent 5ed10764
Loading
Loading
Loading
Loading
+7 −1
Original line number Original line Diff line number Diff line
@@ -612,8 +612,14 @@ public class NotificationChildrenContainer extends ViewGroup
    }
    }


    public float getChildRenderingStartPosition() {
    public float getChildRenderingStartPosition() {
        // NOTE: if the non-bundle header is ever changed to have different expanded/collapsed
        // heights, we may want to remove this isBundle() check.
        if (isBundle() && mChildrenExpanded) {
            return mHeaderHeight + getAdditionalExpandedHeaderMargin() + mDividerHeight;
        } else {
            return mHeaderHeight + mDividerHeight;
            return mHeaderHeight + mDividerHeight;
        }
        }
    }


    /**
    /**
     * Recreate the low-priority header.
     * Recreate the low-priority header.