land: TARGET_HAS_LEGACY_CAMERA_HAL1 hack

And a couple of mediaserver properties
to make camera work with legacy blobs

Change-Id: I6c3e6b9d4aed12e1c9542cc7c4eaa6e96a3fc9df
Signed-off-by: FireLord1 <firelord.xda@gmail.com>
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
This commit is contained in:
David Marble 2017-01-12 22:28:08 +05:30 committed by Darshan Manjrekar
parent 9025cd0742
commit 56b3b2fedd
2 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,4 @@
# Camera # Camera
TARGET_CAMERASERVICE_CLOSES_NATIVE_HANDLES := true TARGET_CAMERASERVICE_CLOSES_NATIVE_HANDLES := true
USE_DEVICE_SPECIFIC_CAMERA := true USE_DEVICE_SPECIFIC_CAMERA := true
TARGET_HAS_LEGACY_CAMERA_HAL1 := true

View file

@ -11,4 +11,6 @@ PRODUCT_PROPERTY_OVERRIDES += \
persist.camera.is_type=1 \ persist.camera.is_type=1 \
vidc.debug.perf.mode=2 \ vidc.debug.perf.mode=2 \
vidc.enc.dcvs.extra-buff-count=2 \ vidc.enc.dcvs.extra-buff-count=2 \
vidc.enc.disable.pq=true vidc.enc.disable.pq=true \
media.stagefright.legacyencoder=true \
media.stagefright.less-secure=true