fix libcallback jpeg issue on t20

This commit is contained in:
Alfonso Gamboa 2022-08-19 22:25:32 -07:00
parent ba366eb0c9
commit a8ce83e17a
2 changed files with 6 additions and 1 deletions

Binary file not shown.

View File

@ -6,4 +6,9 @@ echo "inject callback library and run"
export LD_LIBRARY_PATH='/thirdlib:/system/lib:/opt/wz_mini/lib'
LD_PRELOAD='libcallback.so:libtinyalsa.so.2.0.0' /system/bin/iCamera
if [ -f /opt/wz_mini/tmp/.T20 ]; then
echo "libcallback for T20"
LD_PRELOAD='libcallback_t20.so:libtinyalsa.so.2.0.0' /system/bin/iCamera
else
LD_PRELOAD='libcallback.so:libtinyalsa.so.2.0.0' /system/bin/iCamera
fi