summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher N. Hesse <raymanfx@gmail.com>2018-10-20 11:55:23 +0200
committerJulian Veit <claymore1298@gmail.com>2019-08-09 07:57:14 +0200
commitf759cbd1e775541ed3069efacd1b1473114aa22b (patch)
tree328ca7a5e8db0484b80ad1d2f8212f926671557f
parentf3c40753e921d721dbe767e14976cfccebc26f8f (diff)
m8-common: Set SDK API level for mm-qcamera-daemonp9.0
In P, Google decided to tighten restrictions on mutex calls by ensuring mutex_destroy is not called on an already destroyed mutex (which can be potentially dangerous), however this caused issues because Qualcomm, in their infinite wisdom, decided to destroy mutexes in a loop, causing them to be 'destroyed' twice The offending library for m8 is: vendor/lib/libmmcamera2_imglib_modules.so Change-Id: If62d45f81ec4ca50283c095b600dc2dbcaa73517
-rw-r--r--BoardConfigCommon.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index 676dec6..8444e02 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -35,7 +35,9 @@ TARGET_BOARD_INFO_FILE ?= device/htc/m8-common/board-info.txt
# Camera
TARGET_NEEDS_PLATFORM_TEXT_RELOCATIONS := true
-TARGET_PROCESS_SDK_VERSION_OVERRIDE += /system/bin/mediaserver=22
+TARGET_PROCESS_SDK_VERSION_OVERRIDE += \
+ /system/bin/mediaserver=22 \
+ /system/vendor/bin/mm-qcamera-daemon=23
USE_DEVICE_SPECIFIC_CAMERA := true
# NFC