From 70a29f182f6696b089d1c376fc5aadd7a20f6231 Mon Sep 17 00:00:00 2001 From: Jun Tian Date: Wed, 3 Jul 2013 13:49:38 +0800 Subject: Fix the loading library issue of panorama mode in Legacycamera app The Legacycamera app requires libjni_legacymosaic module, and this module is included in the makefile. But in the implementation code, it loads the libjni_mosaic module. This patch changed the loading library to fix crash issue when using panorama mode in the Legacycamera. Change-Id: Id7d4192b076412c674ef716c9ffcb31fe5cb6619 Signed-off-by: Jun Tian Signed-off-by: Zhu Yanglinx Signed-off-by: Chang Panfeng --- src/com/android/camera/panorama/Mosaic.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/camera/panorama/Mosaic.java b/src/com/android/camera/panorama/Mosaic.java index 5064cec..90bf2ad 100644 --- a/src/com/android/camera/panorama/Mosaic.java +++ b/src/com/android/camera/panorama/Mosaic.java @@ -93,7 +93,7 @@ public class Mosaic { static { - System.loadLibrary("jni_mosaic"); + System.loadLibrary("jni_legacymosaic"); } /** -- cgit v1.1