summaryrefslogtreecommitdiffstats
path: root/v4/api21/android
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2015-03-09 15:15:53 +0100
committerJorim Jaggi <jjaggi@google.com>2015-04-14 16:20:33 -0700
commit10d7d250bc41b21059a90095e8b693c9e7bc3bc3 (patch)
tree6572674cd786a2c164dac1e7225e7d2616add1c9 /v4/api21/android
parentc53b808c32f742ab00b7aa3e8d40305438522a20 (diff)
downloadandroid_frameworks_support-10d7d250bc41b21059a90095e8b693c9e7bc3bc3.tar.gz
android_frameworks_support-10d7d250bc41b21059a90095e8b693c9e7bc3bc3.tar.bz2
android_frameworks_support-10d7d250bc41b21059a90095e8b693c9e7bc3bc3.zip
Introduce NotificationCompat.MediaStyle
Make Notification.MediaStyle available from v7 with the support library. For versions prior ICS, the normal template is used, as buttons within notifications weren't supported. From ICS to Jellybean, a custom template is used which maches the platform one. On Lollipop and later, the platform implementation is used. Bug: 17425365 Change-Id: I6a44c8b325c0fb204e3043e1114c4a2c3276d78f
Diffstat (limited to 'v4/api21/android')
-rw-r--r--v4/api21/android/support/v4/app/NotificationCompatApi21.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/v4/api21/android/support/v4/app/NotificationCompatApi21.java b/v4/api21/android/support/v4/app/NotificationCompatApi21.java
index a16b2a278c..dbce1db52c 100644
--- a/v4/api21/android/support/v4/app/NotificationCompatApi21.java
+++ b/v4/api21/android/support/v4/app/NotificationCompatApi21.java
@@ -115,6 +115,7 @@ class NotificationCompatApi21 {
return b;
}
+ @Override
public Notification build() {
return b.build();
}