diff options
Diffstat (limited to 'core/java/android/view/NotificationHeaderView.java')
| -rw-r--r-- | core/java/android/view/NotificationHeaderView.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/core/java/android/view/NotificationHeaderView.java b/core/java/android/view/NotificationHeaderView.java index b9a7421fe14c..011e081ff1d4 100644 --- a/core/java/android/view/NotificationHeaderView.java +++ b/core/java/android/view/NotificationHeaderView.java @@ -43,7 +43,6 @@ public class NotificationHeaderView extends ViewGroup { private HeaderTouchListener mTouchListener = new HeaderTouchListener(); private ImageView mExpandButton; private View mIcon; - private TextView mChildCount; private View mProfileBadge; private View mInfo; private int mIconColor; @@ -80,7 +79,6 @@ public class NotificationHeaderView extends ViewGroup { mSubTextView = findViewById(com.android.internal.R.id.header_sub_text); mExpandButton = (ImageView) findViewById(com.android.internal.R.id.expand_button); mIcon = findViewById(com.android.internal.R.id.icon); - mChildCount = (TextView) findViewById(com.android.internal.R.id.number_of_children); mProfileBadge = findViewById(com.android.internal.R.id.profile_badge); mInfo = findViewById(com.android.internal.R.id.header_content_info); } @@ -193,17 +191,6 @@ public class NotificationHeaderView extends ViewGroup { updateTouchListener(); } - public void setChildCount(int childCount) { - if (childCount > 0) { - mChildCount.setText(getContext().getString( - com.android.internal.R.string.notification_children_count_bracketed, - childCount)); - mChildCount.setVisibility(VISIBLE); - } else { - mChildCount.setVisibility(GONE); - } - } - @RemotableViewMethod public void setOriginalIconColor(int color) { mIconColor = color; |
