[Android] MediaBrowser: add an interact option in browse() (squash)

Thomas Guillem git at videolan.org
Wed Feb 3 19:15:29 CET 2016


vlc-android | branch: dialog | Thomas Guillem <thomas at gllm.fr> | Wed Feb  3 19:13:10 2016 +0100| [f1d58471571e84d4657fdae00220bc7422c2486b] | committer: Thomas Guillem

MediaBrowser: add an interact option in browse() (squash)

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

 .../src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java       | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java b/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
index 6c0864e..66b0d08 100644
--- a/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
@@ -315,7 +315,7 @@ public abstract class BaseBrowserFragment extends MediaBrowserFragment implement
         if (mRoot)
             browseRoot();
         else
-            mMediaBrowser.browse(mCurrentMedia != null ? mCurrentMedia.getUri() : Uri.parse(mMrl), false);
+            mMediaBrowser.browse(mCurrentMedia != null ? mCurrentMedia.getUri() : Uri.parse(mMrl), true);
         mHandler.sendEmptyMessageDelayed(BrowserFragmentHandler.MSG_SHOW_LOADING, 300);
     }
 
@@ -504,7 +504,7 @@ public abstract class BaseBrowserFragment extends MediaBrowserFragment implement
                 mw = null;
             if (mw != null){
                 if (mw.getType() == MediaWrapper.TYPE_DIR || mw.getType() == MediaWrapper.TYPE_PLAYLIST){
-                    mMediaBrowser.browse(mw.getUri(), true);
+                    mMediaBrowser.browse(mw.getUri(), false);
                     return;
                 }
             }
@@ -557,7 +557,7 @@ public abstract class BaseBrowserFragment extends MediaBrowserFragment implement
 
             if (mw != null) {
                 if (mCurrentParsedPosition < mAdapter.getItemCount()) {
-                    mMediaBrowser.browse(mw.getUri(), true);
+                    mMediaBrowser.browse(mw.getUri(), false);
                 } else {
                     mCurrentParsedPosition = -1;
                     releaseBrowser();



More information about the Android mailing list