summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authord34d <clark@cyngn.com>2015-03-10 16:45:59 -0700
committerClark Scheff <clark@cyngn.com>2015-10-27 17:57:02 -0700
commitd55dbb8020a7a72f0393ee90e7bc7c33089f2df9 (patch)
tree18c1b15f67b29d50186b704b217d7d02053c03ff
parent7f462cb5eaa0b567bae3f68726c81b68fe1bbb86 (diff)
downloadframeworks_base-d55dbb8020a7a72f0393ee90e7bc7c33089f2df9.zip
frameworks_base-d55dbb8020a7a72f0393ee90e7bc7c33089f2df9.tar.gz
frameworks_base-d55dbb8020a7a72f0393ee90e7bc7c33089f2df9.tar.bz2
SysUI: Clip to outline in ActivatableNotificationView
This will ensure the entire notification is clipped to the background drawable. If that drawable is a shape, such as a rounded rectangle then the entire notification should be clipped to that. Change-Id: I0a59712618223f28325126e2f0b96b4cfe000fbe
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java b/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java
index b88e5ca..36296b4 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/ExpandableNotificationRow.java
@@ -475,6 +475,7 @@ public class ExpandableNotificationRow extends ActivatableNotificationView {
public void setExpandable(boolean expandable) {
mExpandable = expandable;
+ setClipToOutline(expandable);
}
/**