[Android] Remove the close icon from playback notif

Geoffrey Métais git at videolan.org
Tue Feb 12 16:27:31 CET 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Feb  8 10:32:16 2019 +0100| [68b13aa8c832bddd8b7eeece14838555ff1d8d67] | committer: Geoffrey Métais

Remove the close icon from playback notif

> https://code.videolan.org/videolan/vlc-android/commit/68b13aa8c832bddd8b7eeece14838555ff1d8d67
---

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

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 8216ea08c..e56d0bedb 100644
--- a/vlc-android/src/org/videolan/vlc/gui/helpers/NotificationHelper.java
+++ b/vlc-android/src/org/videolan/vlc/gui/helpers/NotificationHelper.java
@@ -85,8 +85,6 @@ public class NotificationHelper {
                 R.drawable.ic_widget_next_w, ctx.getString(R.string.next),
                 MediaButtonReceiver.buildMediaButtonPendingIntent(ctx,
                         PlaybackStateCompat.ACTION_SKIP_TO_NEXT)));
-        builder.addAction(new NotificationCompat.Action(
-                R.drawable.ic_widget_close_w, ctx.getString(R.string.stop), piStop));
 
         if (AndroidDevices.showMediaStyle) {
             builder.setStyle(new androidx.media.app.NotificationCompat.MediaStyle()



More information about the Android mailing list