aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Jiang <sam.andrew.jiang@gmail.com>2014-06-15 05:01:52 +0000
committerAndrew Jiang <sam.andrew.jiang@gmail.com>2014-06-15 12:31:26 +0000
commitb85339b79c05da4fc517fd0b0df9650f99e08795 (patch)
tree01d69a1d0c9f632985ca91fb61369d939111224e
parent5785b99fdbf9e616739e7463aa511a7bbe6cad21 (diff)
downloaddevice_samsung_espressowifi-b85339b79c05da4fc517fd0b0df9650f99e08795.zip
device_samsung_espressowifi-b85339b79c05da4fc517fd0b0df9650f99e08795.tar.gz
device_samsung_espressowifi-b85339b79c05da4fc517fd0b0df9650f99e08795.tar.bz2
P31xx: Preload libjhead in init
Older camera HALs call on libexif, and with the name change to libjhead here: https://android.googlesource.com/platform/external/jhead/+/acbfc9c1c7e1a84b0db4dc5bc3d5346b6c55c473 It cannot find the necessary functions/symbols. Loading libjhead before any other libraries solves this problem nicely. Thanks to arcee for advice on the fix! Change-Id: I93c9423e5ac18df85787b058273fef1503e0aa14
-rwxr-xr-xrootdir/init.espresso.rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/rootdir/init.espresso.rc b/rootdir/init.espresso.rc
index 5992fb3..817832b 100755
--- a/rootdir/init.espresso.rc
+++ b/rootdir/init.espresso.rc
@@ -24,6 +24,9 @@ on init
symlink /storage/usbdisk0 /usbdisk0
symlink /storage/usbdisk0 /mnt/usbdisk0
+# Preload libjhead for camera
+ export LD_PRELOAD /system/lib/libjhead.so
+
# Vibetonz
export VIBE_PIPE_PATH /dev/pipes
mkdir /dev/pipes 0771 shell shell