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-07 13:42:35 -0700
commitae78f9989b9c5f6ba8b906f5b6acd0fd38a8ac90 (patch)
tree0e09c8637bc772480c913aff2cb71dcedfd379e6 /v4/api21/android
parent5f1495c5e04580b8b8d79450e528c284d07f6949 (diff)
downloadandroid_frameworks_support-ae78f9989b9c5f6ba8b906f5b6acd0fd38a8ac90.tar.gz
android_frameworks_support-ae78f9989b9c5f6ba8b906f5b6acd0fd38a8ac90.tar.bz2
android_frameworks_support-ae78f9989b9c5f6ba8b906f5b6acd0fd38a8ac90.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: I854159991a6093b219d803036a74951c6437b6ff
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();
}