[Android] Fix Snackbarbar constructor

Geoffrey Métais git at videolan.org
Thu Jun 4 18:07:51 CEST 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jun  4 17:27:32 2015 +0200| [4d4b25510224ecaffc2b3f20f09a34f00ac74f78] | committer: Geoffrey Métais

Fix Snackbarbar constructor

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=4d4b25510224ecaffc2b3f20f09a34f00ac74f78
---

 .../src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java       |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
index 7ec586e..1c32313 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
@@ -430,12 +430,12 @@ public class AudioBrowserFragment extends MediaBrowserFragment implements SwipeR
                 return false;
             Message msg;
             if (mode == MODE_PLAYLIST) {
-                Snackbar.make(getView(), getString(R.string.playlist_deleted), DELETE_DURATION)
+                Snackbar.make(getView(), getString(R.string.playlist_deleted), Snackbar.LENGTH_LONG)
                 .setAction(android.R.string.cancel, mCancelDeletePlayListListener)
                 .show();
                 msg = mHandler.obtainMessage(DELETE_PLAYLIST, position, 0);
             } else {
-                Snackbar.make(getView(), getString(R.string.file_deleted), DELETE_DURATION)
+                Snackbar.make(getView(), getString(R.string.file_deleted), Snackbar.LENGTH_LONG)
                         .setAction(android.R.string.cancel, mCancelDeleteMediaListener)
                         .show();
                 msg = mHandler.obtainMessage(DELETE_MEDIA, position, 0);



More information about the Android mailing list