[Android] Notification: Fix playback notif category

Geoffrey Métais git at videolan.org
Mon Mar 18 15:45:24 CET 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Mar 18 15:29:04 2019 +0100| [95beaad5351cebf12e350b54da30bb15bbdfe95e] | committer: Geoffrey Métais

Notification: Fix playback notif category

> https://code.videolan.org/videolan/vlc-android/commit/95beaad5351cebf12e350b54da30bb15bbdfe95e
---

 vlc-android/src/org/videolan/vlc/gui/helpers/NotificationHelper.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/helpers/NotificationHelper.java b/vlc-android/src/org/videolan/vlc/gui/helpers/NotificationHelper.java
index ad8a5b29d..8e8c8429c 100644
--- a/vlc-android/src/org/videolan/vlc/gui/helpers/NotificationHelper.java
+++ b/vlc-android/src/org/videolan/vlc/gui/helpers/NotificationHelper.java
@@ -66,7 +66,7 @@ public class NotificationHelper {
                 .setTicker(sb.toString())
                 .setAutoCancel(!playing)
                 .setOngoing(playing)
-                .setCategory(NotificationCompat.CATEGORY_SERVICE)
+                .setCategory(NotificationCompat.CATEGORY_TRANSPORT)
                 .setDeleteIntent(piStop)
                 .setContentIntent(spi)
                 .addAction(new NotificationCompat.Action(



More information about the Android mailing list