diff --git a/board/camera.mk b/board/camera.mk index ae50722..d0274d1 100644 --- a/board/camera.mk +++ b/board/camera.mk @@ -1,3 +1,4 @@ # Camera TARGET_CAMERASERVICE_CLOSES_NATIVE_HANDLES := true USE_DEVICE_SPECIFIC_CAMERA := true +TARGET_HAS_LEGACY_CAMERA_HAL1 := true diff --git a/product/qcom-camera.mk b/product/qcom-camera.mk index 0052d5f..3f30908 100644 --- a/product/qcom-camera.mk +++ b/product/qcom-camera.mk @@ -11,4 +11,6 @@ PRODUCT_PROPERTY_OVERRIDES += \ persist.camera.is_type=1 \ vidc.debug.perf.mode=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