From c1a24a34565562582585afbb6c1f9af11af46bd2 Mon Sep 17 00:00:00 2001 From: Stricted Date: Sat, 28 Jul 2018 08:10:52 +0200 Subject: [PATCH] add missing symbol and shim libvcodecdrv Change-Id: Id0ff4cae51d8ec3bacfdcbc9e5d3ba2f347ff90e --- BoardConfig.mk | 1 + libmtk_symbols/mtk_sensor.cpp | 3 +++ 2 files changed, 4 insertions(+) diff --git a/BoardConfig.mk b/BoardConfig.mk index 194d30c..0c4441a 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -105,6 +105,7 @@ TARGET_LD_SHIM_LIBS := \ /system/lib/hw/hwcomposer.mt8127.so|libmtk_symbols.so \ /system/lib/hw/hwcomposer.mt8127.so|libxlog.so \ /system/lib/libMtkOmxVenc.so|libmtk_symbols.so \ + /system/vendor/lib/libvcodecdrv.so|libmtk_symbols.so \ /system/lib/libcam_utils.so|libmtk_symbols.so \ /system/lib/libcam.utils.sensorlistener.so|libmtk_symbols.so \ /system/vendor/lib/libwvm.so|libmtk_symbols.so \ diff --git a/libmtk_symbols/mtk_sensor.cpp b/libmtk_symbols/mtk_sensor.cpp index 37b95f6..e0a4a04 100644 --- a/libmtk_symbols/mtk_sensor.cpp +++ b/libmtk_symbols/mtk_sensor.cpp @@ -6,4 +6,7 @@ extern "C" { void _ZNK7android16SensorEventQueue13disableSensorEPKNS_6SensorE() {} void _ZNK7android16SensorEventQueue12enableSensorEPKNS_6SensorE() {} + + void _ZNK7android16SensorEventQueue12setEventRateEPKNS_6SensorEx() {} + void eVideoIncLogCount() {} } -- 2.20.1