summaryrefslogtreecommitdiff
path: root/core/java/android/view/NotificationHeaderView.java
diff options
context:
space:
mode:
authorSelim Cinek <cinek@google.com>2016-10-13 19:14:43 -0700
committerSelim Cinek <cinek@google.com>2016-11-21 14:33:40 -0800
commit281c202784fe6eecab4cc535461f1b12c85b2cc0 (patch)
tree32434c118c9f1d1673edbab211ba7b07c0e6df64 /core/java/android/view/NotificationHeaderView.java
parentbbcebde5f47d070d82270a367bec2f375c55d359 (diff)
Introduced the Notification shelf
Started the implementation of a new notification scrolling model that dynamically transforms notifications into a new icon shelf. Test: Add notifications, scroll! Bug: 32437839 Change-Id: Ic28cc1c82f2cda2ffa7a312648903b5bc2408820
Diffstat (limited to 'core/java/android/view/NotificationHeaderView.java')
-rw-r--r--core/java/android/view/NotificationHeaderView.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/view/NotificationHeaderView.java b/core/java/android/view/NotificationHeaderView.java
index c46acae38c2c..ed4188ef58cf 100644
--- a/core/java/android/view/NotificationHeaderView.java
+++ b/core/java/android/view/NotificationHeaderView.java
@@ -311,6 +311,10 @@ public class NotificationHeaderView extends ViewGroup {
return mProfileBadge;
}
+ public View getIcon() {
+ return mIcon;
+ }
+
public class HeaderTouchListener implements View.OnTouchListener {
private final ArrayList<Rect> mTouchRects = new ArrayList<>();