mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-25 23:16:26 -08:00
LG8n: overlay-lineage: Configure aux camera for Aperture
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
parent
5498860054
commit
45d53c66c1
|
@ -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 \
|
||||
|
|
11
lineage-overlays/ApertureOverlay/Android.bp
Normal file
11
lineage-overlays/ApertureOverlay/Android.bp
Normal 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"]
|
||||
}
|
20
lineage-overlays/ApertureOverlay/AndroidManifest.xml
Normal file
20
lineage-overlays/ApertureOverlay/AndroidManifest.xml
Normal 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>
|
9
lineage-overlays/ApertureOverlay/res/values/config.xml
Normal file
9
lineage-overlays/ApertureOverlay/res/values/config.xml
Normal 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>
|
Loading…
Reference in a new issue