FP4: Disallow aux cam usage for Telegram / Telegram X
These seem to misbehave when they reach certain camera IDs.
Change-Id: Ib07269215d76a09bf5b305bfb6ae9b84f5c5a7d3
diff --git a/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml b/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml
index 999f748..8a9e6f4 100644
--- a/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml
+++ b/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml
@@ -23,4 +23,10 @@
<!-- Whether device has screen with higher aspect ratio -->
<bool name="config_haveHigherAspectRatioScreen">true</bool>
+
+ <!-- The list of package IDs that are not allowed to use aux cameras. -->
+ <string-array name="config_cameraAuxPackageExcludeList" translatable="false">
+ <item>org.telegram.messenger</item>
+ <item>org.thunderdog.challegram</item>
+ </string-array>
</resources>