summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuK1337 <priv.luk@gmail.com>2022-10-31 21:59:52 +0100
committerSemavi Ulusoy <doc.divxm@gmail.com>2022-11-01 16:05:26 +0300
commita861177511e7b7468922c6e4a34b0f9c2ab2ec44 (patch)
treef4b245f43906b08060dad8aab810652fe3405a7a
parent1f646b94ce0f66b39a916ee2aad411d72e68231b (diff)
kebab: overlay: Configure aux camera for Aperture
Change-Id: I543f078dd4dba30e1b22737d5c22d591e3fb34e6
-rw-r--r--overlay-aicp/packages/apps/Aperture/app/src/main/res/values/config.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/overlay-aicp/packages/apps/Aperture/app/src/main/res/values/config.xml b/overlay-aicp/packages/apps/Aperture/app/src/main/res/values/config.xml
new file mode 100644
index 0000000..e7475fe
--- /dev/null
+++ b/overlay-aicp/packages/apps/Aperture/app/src/main/res/values/config.xml
@@ -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>