diff options
author | tomascus <arbiter1000@gmail.com> | 2017-02-12 12:12:57 +1100 |
---|---|---|
committer | nailyk-fr <nailyk_git@nailyk.fr> | 2017-02-21 20:18:16 +0100 |
commit | b2ecfd2db4a5a752ea70085db34d885d6561d8ed (patch) | |
tree | ec23928701013c0c32c83e0bcaa646e190c482d8 | |
parent | f901d5da8cd932e7cf2de9b6b9255e2d5910b1d2 (diff) |
shinano-common: build: Enable HAL1 camera hacks
Change-Id: I5a831ff94bcd4db79098ad9a2d05d053acc95f52
-rw-r--r-- | BoardConfigCommon.mk | 1 | ||||
-rw-r--r-- | shinano.mk | 5 |
2 files changed, 6 insertions, 0 deletions
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 @@ -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 \ |