From 2bc258d83b76da630cbd87ca891339f94546ac22 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Mon, 31 Oct 2022 21:59:52 +0100 Subject: [PATCH] LG8n: overlay-lineage: Configure aux camera for Aperture Signed-off-by: Shirayuki39 --- device.mk | 8 ++++++++ lineage-overlays/ApertureOverlay/Android.bp | 11 ++++++++++ .../ApertureOverlay/AndroidManifest.xml | 20 +++++++++++++++++++ .../ApertureOverlay/res/values/config.xml | 9 +++++++++ 4 files changed, 48 insertions(+) create mode 100644 lineage-overlays/ApertureOverlay/Android.bp create mode 100644 lineage-overlays/ApertureOverlay/AndroidManifest.xml create mode 100644 lineage-overlays/ApertureOverlay/res/values/config.xml diff --git a/device.mk b/device.mk index e5956b4..c65c534 100644 --- a/device.mk +++ b/device.mk @@ -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 \ diff --git a/lineage-overlays/ApertureOverlay/Android.bp b/lineage-overlays/ApertureOverlay/Android.bp new file mode 100644 index 0000000..7815313 --- /dev/null +++ b/lineage-overlays/ApertureOverlay/Android.bp @@ -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"] +} diff --git a/lineage-overlays/ApertureOverlay/AndroidManifest.xml b/lineage-overlays/ApertureOverlay/AndroidManifest.xml new file mode 100644 index 0000000..1c99280 --- /dev/null +++ b/lineage-overlays/ApertureOverlay/AndroidManifest.xml @@ -0,0 +1,20 @@ + + + + + + diff --git a/lineage-overlays/ApertureOverlay/res/values/config.xml b/lineage-overlays/ApertureOverlay/res/values/config.xml new file mode 100644 index 0000000..8d38ce2 --- /dev/null +++ b/lineage-overlays/ApertureOverlay/res/values/config.xml @@ -0,0 +1,9 @@ + + + + + true +