rhodep: Disable macro camera in Aperture
Video recording crashes Change-Id: Ib32e4c48d7992f24b7691258d26032b1fdeb82cd
This commit is contained in:
committed by
Sevenrock
parent
0e8c026ee6
commit
8f5e00893d
@@ -24,6 +24,7 @@ $(call inherit-product, device/motorola/sm6375-common/common.mk)
|
||||
# Overlays
|
||||
PRODUCT_PACKAGES += \
|
||||
FrameworksResDevice \
|
||||
LineageApertureAppDevice \
|
||||
LineageSystemUIDevice \
|
||||
SystemUIResDevice \
|
||||
WifiResDevice
|
||||
|
||||
9
resource-overlay/device/LineageApertureApp/Android.bp
Normal file
9
resource-overlay/device/LineageApertureApp/Android.bp
Normal file
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "LineageApertureAppDevice",
|
||||
vendor: true,
|
||||
}
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user