aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BoardConfigCommon.mk1
-rw-r--r--shinano.mk5
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
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 \