add missing symbol for libcam.utils.sensorlistener.so lineage-15.1
authorJan Altensen <info@stricted.net>
Fri, 22 Feb 2019 16:58:39 +0000 (17:58 +0100)
committerJan Altensen <info@stricted.net>
Fri, 22 Feb 2019 17:54:19 +0000 (18:54 +0100)
Change-Id: I00ba721657da422b4304266d1c15b1335eae5ef4

BoardConfig.mk
libmtk_symbols/mtk_gui.cpp

index 49a6785a1dfbea8c8e494278bb2223bf99b3f67b..711717eb2faf095a17c5e57806e3b98e7b9211b5 100644 (file)
@@ -109,7 +109,9 @@ TARGET_LD_SHIM_LIBS := \
        /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 \
-    /system/lib/hw/gps.mt8127.so|libboringssl-compat.so
+       /system/lib/libcam.utils.sensorlistener.so|libmtk_symbols.so \
+       /system/lib/hw/gps.mt8127.so|libboringssl-compat.so
+
 # SELinux
 BOARD_SECCOMP_POLICY := $(DEVICE_DIR)/seccomp
 #BOARD_SEPOLICY_DIRS += $(DEVICE_DIR)/sepolicy
index 3196930bafed82fef4778a0d50db9c1f41053b11..eef0caaac8f948f74371125c03f7985c72f09e1b 100644 (file)
@@ -5,6 +5,7 @@
 #include <stdint.h>
 
 extern "C" {
+    void _ZN7android13SensorManager16getDefaultSensorEi() {}
     void _ZN7android13GraphicBufferC1EjjijNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE(
             void *(pthis), uint32_t inWidth, uint32_t inHeight, int inFormat,
             uint32_t inUsage, std::string requestorName);