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:57 +0000
commit87dd74c1322c2196c11c545afb857ec0299546b5 (patch)
tree8cc393e73255b1bbc749c7c94a7dc1f4412e5112
parent344db93eb9be0f02476fc1a201b003d4e58d8ef3 (diff)
downloaddevice_samsung_espresso3g-87dd74c1322c2196c11c545afb857ec0299546b5.zip
device_samsung_espresso3g-87dd74c1322c2196c11c545afb857ec0299546b5.tar.gz
device_samsung_espresso3g-87dd74c1322c2196c11c545afb857ec0299546b5.tar.bz2
P51xx: 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: Ib0bd20411b5b3757b40851938162b31098a90e74
-rwxr-xr-xrootdir/init.espresso10.rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/rootdir/init.espresso10.rc b/rootdir/init.espresso10.rc
index f05ba8f..ee1e81b 100755
--- a/rootdir/init.espresso10.rc
+++ b/rootdir/init.espresso10.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