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

Commit 4a0393e0 authored by Jeff DeCew's avatar Jeff DeCew
Browse files

Remove unused flag in NotificationHeaderView

Test: SystemUITests
Change-Id: Ie21b0d9d113c8356279b4ae1b1dc7787c1a95d02
parent 81bc9685
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -55,7 +55,6 @@ public class NotificationHeaderView extends ViewGroup {
    private CachingIconView mIcon;
    private View mProfileBadge;
    private View mFeedbackIcon;
    private boolean mShowWorkBadgeAtEnd;
    private int mHeaderTextMarginEnd;
    private Drawable mBackground;
    private boolean mEntireHeaderClickable;
@@ -290,16 +289,6 @@ public class NotificationHeaderView extends ViewGroup {
        updateTouchListener();
    }

    /**
     * Sets whether or not the work badge appears at the end of the NotificationHeaderView.
     * The expand button will always be closer to the end.
     */
    public void setShowWorkBadgeAtEnd(boolean showWorkBadgeAtEnd) {
        if (showWorkBadgeAtEnd != mShowWorkBadgeAtEnd) {
            mShowWorkBadgeAtEnd = showWorkBadgeAtEnd;
        }
    }

    /**
     * Sets the margin end for the text portion of the header, excluding right-aligned elements
     * @param headerTextMarginEnd margin size
+0 −1
Original line number Diff line number Diff line
@@ -336,7 +336,6 @@ public class NotificationContentView extends FrameLayout {
                                    ? contractedHeader.getPaddingLeft()
                                    : paddingEnd,
                            contractedHeader.getPaddingBottom());
                    contractedHeader.setShowWorkBadgeAtEnd(false);
                    return true;
                }
            }