a7xelte: Set SDK API level for rild
authornx111 <gd.zhangdz@gmail.com>
Sat, 6 Oct 2018 15:07:54 +0000 (09:07 -0600)
committerSourajit Karmakar <sourajit.karmakar@gmail.com>
Tue, 7 Jul 2020 15:05:51 +0000 (11:05 -0400)
* P made changes to pthread_mutex_init() that are incompatible
  with our libsec-ril libraries. In order for rild to even see a
  radio as being availble we need the legacy behavior.
* Even though our libsec-ril libraries are from 7.0, which is API
  level 24, we do not appear to require any of the other behaviors
  from API levels earlier than 27.

Change-Id: I3b3d0160236df09bdae95c5d9f10a61bf91ebc72

BoardConfig.mk

index 39ba9968e32e3d4a5ea47371871ae60d9eaa8426..344604da65e40396744f88a7a7f808ca6ef146ad 100644 (file)
@@ -55,3 +55,7 @@ TARGET_LD_SHIM_LIBS += \
     /system/lib/libstagefright.so|/vendor/lib/libstagefright_shim.so \
     /system/lib/libexynoscamera.so|/vendor/lib/libexynoscamera_shim.so \
     /system/lib/libbauthserver.so|/system/lib/libbauthtzcommon_shim.so
+
+# Legacy BLOB Support
+TARGET_PROCESS_SDK_VERSION_OVERRIDE += \
+    /system/vendor/bin/hw/rild=27