[Android] Comment out the NEON checking code
Jean-Baptiste Kempf
git at videolan.org
Mon Jul 2 15:51:35 CEST 2012
android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jul 2 17:51:18 2012 +0200| [60fcd40362051fa1b405bd54168cf1241242022b] | committer: Jean-Baptiste Kempf
Comment out the NEON checking code
> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=60fcd40362051fa1b405bd54168cf1241242022b
---
vlc-android/src/org/videolan/vlc/LibVLC.java | 6 ++----
vlc-android/src/org/videolan/vlc/gui/MainActivity.java | 4 ++--
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/LibVLC.java b/vlc-android/src/org/videolan/vlc/LibVLC.java
index cd9444f..b36791d 100644
--- a/vlc-android/src/org/videolan/vlc/LibVLC.java
+++ b/vlc-android/src/org/videolan/vlc/LibVLC.java
@@ -20,8 +20,6 @@
package org.videolan.vlc;
-import java.io.IOException;
-import java.io.InputStream;
import java.util.ArrayList;
import org.videolan.vlc.gui.video.VideoPlayerActivity;
@@ -180,10 +178,10 @@ public class LibVLC {
private void init() throws LibVlcException {
Log.v(TAG, "Initializing LibVLC");
if (!mIsInitialized) {
- if (!Util.hasNeon()) {
+ /* if (!Util.hasNeon()) {
Log.e(TAG, "Required CPU feature is missing.");
return;
- }
+ } */
Context context = VLCApplication.getAppContext();
SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(context);
nativeInit(pref.getBoolean("enable_verbose_mode", true));
diff --git a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
index f9720b0..8d21e80 100644
--- a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
@@ -98,14 +98,14 @@ public class MainActivity extends SherlockFragmentActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
- if (!Util.hasNeon()) {
+ /*if (!Util.hasNeon()) {
Log.e(TAG, "CPU is missing NEON.");
super.onCreate(savedInstanceState);
Intent i = new Intent(this, CompatErrorActivity.class);
startActivity(i);
finish();
return;
- }
+ }*/
if (Util.isICSOrLater()) /* Bug on pre-ICS, the progress bar is always present */
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
More information about the Android
mailing list