summaryrefslogtreecommitdiff
path: root/camera/provider
diff options
context:
space:
mode:
authorArne Coucheron <arco68@gmail.com>2021-06-30 01:44:45 +0200
committerJulian Veit <Claymore1298@gmail.com>2021-08-26 12:48:11 +0200
commit8e8c5651078aeeb5c2d73964851f769734e3b0cd (patch)
tree6c6b674c1291d4a06f537f59bde2683acf4c8398 /camera/provider
parentf185047c8096837bc6652b0abd90f202943c9e3b (diff)
msm8960-common: hidl: camera: Re-implement libbinder usageHEADs12.0r11.1
Reverts "Camera: HAL1: remove libbinder usage" from hardware/interfaces. Fixes memory and buffer issues with old legacy camera blobs, as they were designed with libbinder in mind. One example is when recording MMS videos, which were crashing with a nullptr setting up a buffer. Change-Id: I121eb16146befb30cfbf8af2a7963c2e3afe6bac
Diffstat (limited to 'camera/provider')
-rw-r--r--camera/provider/Android.bp3
1 files changed, 1 insertions, 2 deletions
diff --git a/camera/provider/Android.bp b/camera/provider/Android.bp
index 7ed2874..fae87f5 100644
--- a/camera/provider/Android.bp
+++ b/camera/provider/Android.bp
@@ -12,14 +12,13 @@ cc_library_shared {
"android.hardware.graphics.mapper@2.0",
"android.hardware.graphics.mapper@3.0",
"android.hardware.graphics.mapper@4.0",
- "android.hidl.allocator@1.0",
- "android.hidl.memory@1.0",
"libcamera_metadata",
"libcutils",
"libhardware",
"libhidlbase",
"liblog",
"libutils",
+ "libbinder",
],
static_libs: [
"android.hardware.camera.common@1.0-helper"