[Android] Move HWDecoderUtil to util
Jean-Baptiste Kempf
git at videolan.org
Wed May 27 14:29:03 CEST 2015
vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed May 27 13:26:56 2015 +0200| [bca088c2d670d80134c686f606d25efe08b8cc66] | committer: Jean-Baptiste Kempf
Move HWDecoderUtil to util
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=bca088c2d670d80134c686f606d25efe08b8cc66
---
libvlc/src/org/videolan/libvlc/LibVLC.java | 3 +--
libvlc/src/org/videolan/libvlc/{ => util}/HWDecoderUtil.java | 4 +++-
vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java | 2 +-
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/libvlc/src/org/videolan/libvlc/LibVLC.java b/libvlc/src/org/videolan/libvlc/LibVLC.java
index d746c20..c9e0987 100644
--- a/libvlc/src/org/videolan/libvlc/LibVLC.java
+++ b/libvlc/src/org/videolan/libvlc/LibVLC.java
@@ -22,14 +22,13 @@ package org.videolan.libvlc;
import java.io.File;
import java.util.ArrayList;
-import java.util.Map;
import android.content.Context;
import android.os.Build;
import android.util.Log;
import android.view.Surface;
-import org.videolan.libvlc.MediaPlayer;
+import org.videolan.libvlc.util.HWDecoderUtil;
public class LibVLC {
private static final String TAG = "VLC/LibVLC";
diff --git a/libvlc/src/org/videolan/libvlc/HWDecoderUtil.java b/libvlc/src/org/videolan/libvlc/util/HWDecoderUtil.java
similarity index 99%
rename from libvlc/src/org/videolan/libvlc/HWDecoderUtil.java
rename to libvlc/src/org/videolan/libvlc/util/HWDecoderUtil.java
index 23dd79d..824870a 100644
--- a/libvlc/src/org/videolan/libvlc/HWDecoderUtil.java
+++ b/libvlc/src/org/videolan/libvlc/util/HWDecoderUtil.java
@@ -18,7 +18,9 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
-package org.videolan.libvlc;
+package org.videolan.libvlc.util;
+
+import org.videolan.libvlc.LibVlcUtil;
import java.lang.reflect.Method;
import java.util.HashMap;
diff --git a/vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java b/vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java
index fdfaadd..67952bf 100644
--- a/vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java
@@ -50,7 +50,7 @@ import android.widget.LinearLayout;
import android.widget.ListView;
import android.widget.Toast;
-import org.videolan.libvlc.HWDecoderUtil;
+import org.videolan.libvlc.util.HWDecoderUtil;
import org.videolan.libvlc.LibVLC;
import org.videolan.vlc.MediaDatabase;
import org.videolan.vlc.R;
More information about the Android
mailing list