From b83eb1d5149917d1fe317d64f0f286f67787084b Mon Sep 17 00:00:00 2001 From: Omkar Chandorkar Date: Mon, 12 Dec 2022 18:56:58 +0000 Subject: [PATCH] r5x: overlay: Configure aux camera for Aperture --- device.mk | 3 ++- rro_overlay/ApertureOverlay/Android.bp | 4 ++++ .../ApertureOverlay/AndroidManifest.xml | 20 +++++++++++++++++++ .../ApertureOverlay/res/values/bools.xml | 15 ++++++++++++++ vendor.prop | 2 +- 5 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 rro_overlay/ApertureOverlay/Android.bp create mode 100644 rro_overlay/ApertureOverlay/AndroidManifest.xml create mode 100644 rro_overlay/ApertureOverlay/res/values/bools.xml diff --git a/device.mk b/device.mk index fd2308ac..581d82f6 100644 --- a/device.mk +++ b/device.mk @@ -346,7 +346,8 @@ PRODUCT_PACKAGES += \ WifiOverlay \ FrameworksOverlay \ TetheringCOverlay \ - BluetoothOverlay + BluetoothOverlay \ + ApertureOverlay # Power PRODUCT_PACKAGES += \ diff --git a/rro_overlay/ApertureOverlay/Android.bp b/rro_overlay/ApertureOverlay/Android.bp new file mode 100644 index 00000000..9404c6bb --- /dev/null +++ b/rro_overlay/ApertureOverlay/Android.bp @@ -0,0 +1,4 @@ +runtime_resource_overlay { + name: "ApertureOverlay", + system_ext_specific: true, +} diff --git a/rro_overlay/ApertureOverlay/AndroidManifest.xml b/rro_overlay/ApertureOverlay/AndroidManifest.xml new file mode 100644 index 00000000..83901b6f --- /dev/null +++ b/rro_overlay/ApertureOverlay/AndroidManifest.xml @@ -0,0 +1,20 @@ + + + + + + diff --git a/rro_overlay/ApertureOverlay/res/values/bools.xml b/rro_overlay/ApertureOverlay/res/values/bools.xml new file mode 100644 index 00000000..81c018f2 --- /dev/null +++ b/rro_overlay/ApertureOverlay/res/values/bools.xml @@ -0,0 +1,15 @@ + + + + true + diff --git a/vendor.prop b/vendor.prop index e763988b..facd9702 100644 --- a/vendor.prop +++ b/vendor.prop @@ -91,7 +91,7 @@ persist.vendor.camera.eis.enable=1 persist.vendor.camera.ois.disable=1 persist.vendor.camera.expose.aux=1 persist.vendor.camera.perflock.enable=0 -vendor.camera.aux.packagelist=org.codeaurora.snapcam,com.android.camera,org.lineageos.snap +vendor.camera.aux.packagelist=org.codeaurora.snapcam,com.android.camera,org.lineageos.aperture vidc.enc.dcvs.extra-buff-count=2 vendor.camera.not.cts.apk=1 vendor.camera.not.ctsverify.apk=1