rtwo: overlay: Configure aux camera for Aperture

Change-Id: I543f078dd4dba30e1b22737d5c22d591e3fb34e6
This commit is contained in:
LuK1337
2022-10-31 21:59:52 +01:00
committed by Marc Bourgoin
parent aa1e21d7bc
commit 222741f51c
4 changed files with 23 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ $(call inherit-product, device/motorola/sm8550-common/common.mk)
# Overlay
PRODUCT_PACKAGES += \
ApertureResRtwo \
FrameworksResRtwo \
LineageSystemUIRtwo \
ProductFrameworksResRtwo \

View File

@@ -0,0 +1,4 @@
runtime_resource_overlay {
name: "ApertureResRtwo",
product_specific: true
}

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2024 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="android.overlay.aperture.rtwo">
<overlay android:targetPackage="org.lineageos.aperture" android:isStatic="true" android:priority="600"/>
</manifest>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: 2022-2023 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- Enable auxiliary cameras selector. -->
<bool name="config_enableAuxCameras">true</bool>
</resources>