summaryrefslogtreecommitdiff
path: root/core/java/android/view/NotificationHeaderView.java
diff options
context:
space:
mode:
authorSelim Cinek <cinek@google.com>2016-01-27 18:38:31 -0800
committerSelim Cinek <cinek@google.com>2016-01-28 19:02:21 -0800
commit0d07c7eccd54661fd26a2f337b5f21c24d9b04ae (patch)
tree0047747c40d5b764ceb26237cafeda9d031321b7 /core/java/android/view/NotificationHeaderView.java
parent6ecc810ca203dfe3d00f76c28a89dfb68cef9ef2 (diff)
Animating the work profile button location now
Media notifications have them in a different location so we'd like to animate it. Change-Id: I50d289bc6ed73d56dcad8cebdcb7101e2aad6ea9
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 b3d16763d0d7..34713ad487fe 100644
--- a/core/java/android/view/NotificationHeaderView.java
+++ b/core/java/android/view/NotificationHeaderView.java
@@ -237,6 +237,10 @@ public class NotificationHeaderView extends LinearLayout {
}
}
+ public View getWorkProfileIcon() {
+ return mProfileBadge;
+ }
+
public class HeaderTouchListener implements View.OnTouchListener {
private final ArrayList<Rect> mTouchRects = new ArrayList<>();