matisse-common: Shim libperipheral_client.so

* LocSvc_afw: get_geofence_interface, dlopen for libgeofence.so
  failed, error = dlopen failed: cannot locate symbol
  "_ZN7android10IInterface8asBinderEv" referenced by
  "/system/vendor/lib/libperipheral_client.so"...
* vndksupport: Could not load /vendor/lib/hw/flp.default.so from
  default namespace: dlopen failed: cannot locate symbol
  "_ZN7android10IInterface8asBinderEv" referenced by
  "/system/vendor/lib/libperipheral_client.so"....

Change-Id: I4fed5fc23b1721e75e9759c0811b7532c5b68705
This commit is contained in:
Alessandro Astone 2019-09-10 09:57:50 +02:00 committed by Francescodario Cuzzocrea
parent 9d6fafe446
commit a84b0210ba
2 changed files with 6 additions and 0 deletions

View File

@ -59,6 +59,8 @@ TARGET_KERNEL_SOURCE := kernel/samsung/msm8226
TARGET_INIT_VENDOR_LIB := libinit_matisse
# Legacy BLOB Support
TARGET_LD_SHIM_LIBS += \
/system/vendor/lib/libperipheral_client.so|libshim_binder.so
TARGET_PROCESS_SDK_VERSION_OVERRIDE += \
/system/bin/mediaserver=22 \
/system/vendor/bin/mm-qcamera-daemon=22 \

View File

@ -91,6 +91,10 @@ PRODUCT_PACKAGES += \
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/sensors/_hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/_hals.conf
# Shims
PRODUCT_PACKAGES += \
libshim_binder
# Shipping API level
$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_k.mk)