From 3b050317bf83af093982fe3e3cd78b25af9edee9 Mon Sep 17 00:00:00 2001 From: Selim Cinek Date: Fri, 4 Mar 2016 18:53:48 -0800 Subject: Removed the bundle number from the header Bug: 27431551 Change-Id: Ia0c663f0bab875abba4b35d565f3ac4ed2306079 --- core/java/android/view/NotificationHeaderView.java | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'core/java/android/view/NotificationHeaderView.java') 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; -- cgit v1.2.3