Remove unused flag in NotificationHeaderView

Test: SystemUITests
Change-Id: Ie21b0d9d113c8356279b4ae1b1dc7787c1a95d02
This commit is contained in:
Jeff DeCew
2020-10-21 14:33:04 -04:00
parent 81bc968579
commit 4a0393e0d9
2 changed files with 0 additions and 12 deletions

View File

@@ -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

View File

@@ -336,7 +336,6 @@ public class NotificationContentView extends FrameLayout {
? contractedHeader.getPaddingLeft()
: paddingEnd,
contractedHeader.getPaddingBottom());
contractedHeader.setShowWorkBadgeAtEnd(false);
return true;
}
}