[Android] For now, disable subdirectory caching

Edward Wang git at videolan.org
Sat Jun 23 15:46:32 CEST 2012


android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Sat Jun 23 09:46:07 2012 -0400| [f3d5bdc95ecd85c12d8756dec38b4482fc2dfe47] | committer: Edward Wang

For now, disable subdirectory caching

> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=f3d5bdc95ecd85c12d8756dec38b4482fc2dfe47
---

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

diff --git a/vlc-android/src/org/videolan/vlc/gui/DirectoryAdapter.java b/vlc-android/src/org/videolan/vlc/gui/DirectoryAdapter.java
index 3778b6d..dec54f8 100644
--- a/vlc-android/src/org/videolan/vlc/gui/DirectoryAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/DirectoryAdapter.java
@@ -151,10 +151,10 @@ public class DirectoryAdapter extends BaseAdapter {
                 if(files[i].isFile())
                     nss.setIsFile();
 
-                String mCurrentDir_old = mCurrentDir;
+                /*String mCurrentDir_old = mCurrentDir;
                 mCurrentDir = MRL;
                 this.populateNode(nss, MRL + "/" + nss.name);
-                mCurrentDir = mCurrentDir_old;
+                mCurrentDir = mCurrentDir_old;*/
 
                 n.children.add(nss);
             }



More information about the Android mailing list