diff options
| -rw-r--r-- | media/java/android/media/ExifInterface.java | 2 | ||||
| -rw-r--r-- | media/jni/Android.mk | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/media/java/android/media/ExifInterface.java b/media/java/android/media/ExifInterface.java index 9d6c9f6c0466..3147ea5504c8 100644 --- a/media/java/android/media/ExifInterface.java +++ b/media/java/android/media/ExifInterface.java @@ -98,7 +98,7 @@ public class ExifInterface { private static SimpleDateFormat sFormatter; static { - System.loadLibrary("exif"); + System.loadLibrary("exif_jni"); sFormatter = new SimpleDateFormat("yyyy:MM:dd HH:mm:ss"); sFormatter.setTimeZone(TimeZone.getTimeZone("UTC")); } diff --git a/media/jni/Android.mk b/media/jni/Android.mk index 98e1bc5733ae..6294704dcf1d 100644 --- a/media/jni/Android.mk +++ b/media/jni/Android.mk @@ -37,6 +37,9 @@ LOCAL_SHARED_LIBRARIES := \ libexif \ libstagefright_amrnb_common \ +LOCAL_REQUIRED_MODULES := \ + libexif_jni + LOCAL_STATIC_LIBRARIES := \ libstagefright_amrnbenc |