aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Rizzoli <joey@cyanogenmoditalia.it>2016-10-06 16:11:20 +0200
committerJoey Rizzoli <joey@cyanogenmoditalia.it>2016-11-06 10:46:50 +0100
commit5c06552839f4b0e21bfd1b6166756a995a426711 (patch)
treed04ae9fef635342a5e9189420e817153107d1e70
parent357c6fa15324643315c4b8bdb9fcec92961a459b (diff)
cancro: camera: much h4xx, so hal 1
Change-Id: I9d92bab7779b7648687bf42fe50109d3987f4e86 Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
-rw-r--r--BoardConfig.mk4
-rw-r--r--system.prop3
2 files changed, 6 insertions, 1 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 59a0a32..0b69115 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -46,6 +46,7 @@ BOARD_GLOBAL_CPPFLAGS += -DUSE_RIL_VERSION_10
# Kernel
BOARD_KERNEL_CMDLINE := console=none vmalloc=340M androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3
+BOARD_KERNEL_CMDLINE += androidboot.selinux=permissive
BOARD_KERNEL_SEPARATED_DT := true
BOARD_KERNEL_BASE := 0x00000000
BOARD_KERNEL_PAGESIZE := 2048
@@ -104,8 +105,9 @@ MAX_EGL_CACHE_KEY_SIZE := 12*1024
MAX_EGL_CACHE_SIZE := 2048*1024
# Camera
+TARGET_HAS_LEGACY_CAMERA_HAL1 := true
TARGET_NEEDS_PLATFORM_TEXT_RELOCATIONS := true
-USE_DEVICE_SPECIFIC_CAMERA := true
+USE_DEVICE_SPECIFIC_CAMERA := true
# Wifi
BOARD_HAS_QCOM_WLAN := true
diff --git a/system.prop b/system.prop
index 4f73ee4..bf5cf50 100644
--- a/system.prop
+++ b/system.prop
@@ -71,8 +71,11 @@ persist.hwc.mdpcomp.enable=true
persist.timed.enable=true
persist.sys.wfd.virtual=0
persist.usb.hvdcp.detect=true
+
persist.camera.cpp.duplication=false
camera2.portability.force_api=1
+media.stagefright.legacyencoder=true
+media.stagefright.less-secure=true
qcom.bluetooth.soc=smd
ro.bluetooth.hfp.ver=1.7