[Android] Auto-detect storage devices and remove the option to select the root
Ludovic Fauvet
git at videolan.org
Wed Nov 21 19:06:47 CET 2012
vlc-ports/android | branch: master | Ludovic Fauvet <etix at videolan.org> | Wed Nov 21 16:55:31 2012 +0100| [7026010a0b27c02194231aaf4322ebca713d1a63] | committer: Ludovic Fauvet
Auto-detect storage devices and remove the option to select the root
We now have support for multiple roots that are auto-detected using
getExternalStorageDirectory and the available mount points (read from
/proc/mounts).
The previous option to select the root directory is, de facto, not
required anymore and thus removed.
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=7026010a0b27c02194231aaf4322ebca713d1a63
---
vlc-android/res/xml/preferences.xml | 4 -
.../src/org/videolan/vlc/DatabaseManager.java | 1 +
vlc-android/src/org/videolan/vlc/MediaLibrary.java | 36 ++++---
vlc-android/src/org/videolan/vlc/Util.java | 52 +++++++++
.../src/org/videolan/vlc/gui/BrowserActivity.java | 48 ++++++---
.../src/org/videolan/vlc/gui/DirectoryAdapter.java | 4 +-
.../org/videolan/vlc/gui/PreferencesActivity.java | 113 --------------------
7 files changed, 106 insertions(+), 152 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commitdiff;h=7026010a0b27c02194231aaf4322ebca713d1a63
More information about the Android
mailing list