[Android] Notification: Fix playback notif category
Geoffrey Métais
git at videolan.org
Tue Mar 19 15:35:16 CET 2019
vlc-android | branch: 3.1.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Mar 18 15:29:04 2019 +0100| [93863972728939e276be23c8b254737935a1ff91] | committer: Geoffrey Métais
Notification: Fix playback notif category
> https://code.videolan.org/videolan/vlc-android/commit/93863972728939e276be23c8b254737935a1ff91
---
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