rhodep: Disable macro camera in Aperture

Video recording crashes

Change-Id: Ib32e4c48d7992f24b7691258d26032b1fdeb82cd
This commit is contained in:
Michael Bestas 2025-05-03 13:39:20 +03:00 committed by Sevenrock
parent 0e8c026ee6
commit 8f5e00893d
4 changed files with 34 additions and 0 deletions

View file

@ -24,6 +24,7 @@ $(call inherit-product, device/motorola/sm6375-common/common.mk)
# Overlays # Overlays
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
FrameworksResDevice \ FrameworksResDevice \
LineageApertureAppDevice \
LineageSystemUIDevice \ LineageSystemUIDevice \
SystemUIResDevice \ SystemUIResDevice \
WifiResDevice WifiResDevice

View file

@ -0,0 +1,9 @@
//
// SPDX-FileCopyrightText: The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "LineageApertureAppDevice",
vendor: true,
}

View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.lineageos.aperture.device.lineage">
<overlay
android:isStatic="true"
android:priority="800"
android:targetPackage="org.lineageos.aperture" />
</manifest>

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- List of ID of auxiliary cameras that must be ignored by the app. -->
<string-array name="config_ignoredAuxCameraIds">
<item>2</item>
</string-array>
</resources>