LG8n: overlay-lineage: Configure aux camera for Aperture

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
LuK1337 2022-10-31 21:59:52 +01:00 committed by Shirayuki39
parent 5498860054
commit 45d53c66c1
4 changed files with 48 additions and 0 deletions

View file

@ -296,6 +296,14 @@ PRODUCT_PACKAGES += \
SettingsResOverlay \
TelephonyOverlay
# Lineage-Specific Overlays
PRODUCT_PACKAGES += \
ApertureOverlay
# Pcap
PRODUCT_PACKAGES += \
libpcap.vendor
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \

View file

@ -0,0 +1,11 @@
//
// Copyright (C) 2023 LineageOS
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "ApertureOverlay",
sdk_version: "current",
product_specific: true,
resource_dirs: ["res"]
}

View file

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2023 LineageOS
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.lineageos.aperture.overlay">
<application android:hasCode="false" />
<overlay
android:targetPackage="org.lineageos.aperture"
android:isStatic="true"
android:priority="1" />
</manifest>

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2023 LineageOS
SPDX-License-Identifier: Apache-2.0
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Enable auxiliary cameras selector -->
<bool name="config_enableAuxCameras">true</bool>
</resources>