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

Commit e78eb2fd authored by Steve Elliott's avatar Steve Elliott
Browse files

Don't clip bundle onboarding

Flag: com.android.systemui.notification_bundle_ui
Fixes: 426424951
Test: manual
  1. Have bundle onboarding affordance present in shade
  2. Receive an incoming notification
  3. Open shade
  Observe: the onboarding is visible
Change-Id: I014f8aa0d9bda69e3f0aed7b1ef7abda24dc03bb
parent 86447191
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -1535,14 +1535,11 @@ public class NotificationStackScrollLayout
                // we never overlap / clip the shelf
                continue;
            }
            boolean canClip = true;
            boolean canClip = !child.isBackgroundOpaque();
            if (child instanceof ExpandableNotificationRow row) {
                if (row.isChildInGroup()) {
                if (canClip && row.isChildInGroup()) {
                    canClip = canClipChildRow(row);
                }
                if (row.isBackgroundOpaque()) {
                    canClip = false;
                }
                // handle the notGoneIndex for the children as well
                List<ExpandableNotificationRow> children = row.getAttachedChildren();
                if (row.isSummaryWithChildren() && children != null) {
+5 −0
Original line number Diff line number Diff line
@@ -126,6 +126,11 @@ public class OnboardingAffordanceView extends StackScrollerDecorView implements
        // no-op
    }

    @Override
    public boolean isBackgroundOpaque() {
        return true;
    }

    @Override
    public void onActivityLaunchAnimationEnd() {
        if (mOnActivityLaunchEndListener != null) {