Merge "Disable TruePortrait."
diff --git a/src/com/android/gallery3d/filtershow/tools/TruePortraitNativeEngine.java b/src/com/android/gallery3d/filtershow/tools/TruePortraitNativeEngine.java
index d333948..47f9179 100644
--- a/src/com/android/gallery3d/filtershow/tools/TruePortraitNativeEngine.java
+++ b/src/com/android/gallery3d/filtershow/tools/TruePortraitNativeEngine.java
@@ -52,9 +52,9 @@
private static final String TAG = "TruePortraitNativeEngine";
static {
try {
- System.loadLibrary("jni_trueportrait");
- mLibLoaded = true;
- Log.v(TAG, "successfully loaded true portrait lib");
+ //System.loadLibrary("jni_trueportrait");
+ //mLibLoaded = true;
+ //Log.v(TAG, "successfully loaded true portrait lib");
} catch (UnsatisfiedLinkError e) {
Log.e(TAG, "failed to load true portrait lib");
mLibLoaded = false;
@@ -71,7 +71,7 @@
private static final int MASK_UPDATE_FOREGROUND = 0x7F000000;
private static final int MASK_UPDATE_BACKGROUND = 0x81000000;
- private static boolean mLibLoaded;
+ private static boolean mLibLoaded = false;
private static TruePortraitNativeEngine mInstance;
private Bitmap mSketchBm;