Remove unused flag in NotificationHeaderView
Test: SystemUITests Change-Id: Ie21b0d9d113c8356279b4ae1b1dc7787c1a95d02
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -336,7 +336,6 @@ public class NotificationContentView extends FrameLayout {
|
||||
? contractedHeader.getPaddingLeft()
|
||||
: paddingEnd,
|
||||
contractedHeader.getPaddingBottom());
|
||||
contractedHeader.setShowWorkBadgeAtEnd(false);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user