From 1068bad257d96cba39fd854416130bb6f7168e8b Mon Sep 17 00:00:00 2001 From: Ziyan Date: Tue, 2 Aug 2016 20:54:14 +0200 Subject: tuna: switch camera to Snap Change-Id: Ibeb04476b707283909704ba71bbf1bf40e8b5690 --- device.mk | 7 ++++++ overlay/packages/apps/Snap/res/values/config.xml | 29 ++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 overlay/packages/apps/Snap/res/values/config.xml diff --git a/device.mk b/device.mk index a700f51..784b7f3 100755 --- a/device.mk +++ b/device.mk @@ -184,6 +184,13 @@ PRODUCT_PROPERTY_OVERRIDES += \ PRODUCT_PROPERTY_OVERRIDES += \ camera2.portability.force_api=1 +# Snap support +PRODUCT_PACKAGES += \ + Snap + +PRODUCT_PROPERTY_OVERRIDES += \ + camera.qcom.misc.disable=1 + # Disable VFR support for encoders PRODUCT_PROPERTY_OVERRIDES += \ debug.vfr.enable=0 diff --git a/overlay/packages/apps/Snap/res/values/config.xml b/overlay/packages/apps/Snap/res/values/config.xml new file mode 100644 index 0000000..9b4e235 --- /dev/null +++ b/overlay/packages/apps/Snap/res/values/config.xml @@ -0,0 +1,29 @@ + + + + + + + true + + + true + + + true + + + true + -- cgit v1.1