kebab: overlay: Configure aux camera for Aperture

Change-Id: I543f078dd4dba30e1b22737d5c22d591e3fb34e6
This commit is contained in:
LuK1337
2022-10-31 21:59:52 +01:00
parent f7ba571af2
commit e9baeb6c63
2 changed files with 23 additions and 0 deletions

View File

@@ -28,6 +28,9 @@ PRODUCT_PACKAGES += \
fstab.qcom.ramdisk
# Overlays
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay-lineage
PRODUCT_PACKAGES += \
OPlusFrameworksResTarget \
OPlusSettingsProviderResTarget \

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Enable auxiliary cameras selector. -->
<bool name="config_enableAuxCameras">true</bool>
<!-- List of ID of auxiliary cameras that must be ignored by the app. -->
<string-array name="config_ignoredAuxCameraIds">
<item>6</item>
<item>7</item>
</string-array>
<!-- List of ID of camera devices that doesn't advertise
REQUEST_AVAILABLE_CAPABILITIES_BACKWARD_COMPATIBLE yet are
able to produce a JPEG or a YUV stream. The camera IDs specified
here won't be excluded by CameraX. Please be sure to test all
modes exposed by the app with those cameras. -->
<string-array name="config_backwardCompatibleCameraIds">
<item>3</item>
</string-array>
</resources>