From b2ecfd2db4a5a752ea70085db34d885d6561d8ed Mon Sep 17 00:00:00 2001 From: tomascus Date: Sun, 12 Feb 2017 12:12:57 +1100 Subject: shinano-common: build: Enable HAL1 camera hacks Change-Id: I5a831ff94bcd4db79098ad9a2d05d053acc95f52 --- BoardConfigCommon.mk | 1 + shinano.mk | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index dfdcd68..eb9b1f7 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -44,6 +44,7 @@ BOARD_BLUEDROID_VENDOR_CONF := device/sony/shinano-common/bluetooth/vnd_shinano. # Camera USE_DEVICE_SPECIFIC_CAMERA := true TARGET_NEEDS_PLATFORM_TEXT_RELOCATIONS := true +TARGET_HAS_LEGACY_CAMERA_HAL1 := true # CM Hardware BOARD_HARDWARE_CLASS += device/sony/shinano-common/cmhw diff --git a/shinano.mk b/shinano.mk index c43f232..47e767a 100644 --- a/shinano.mk +++ b/shinano.mk @@ -117,6 +117,11 @@ PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES += \ charger_res_images +# Camera config for HAL1 hacks +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ + media.stagefright.legacyencoder=true \ + media.stagefright.less-secure=true + # Audio offload PRODUCT_PROPERTY_OVERRIDES += \ audio.offload.buffer.size.kb=32 \ -- cgit v1.2.3