#
-# Copyright (C) 2021-2022 The LineageOS Project
+# Copyright (C) 2021-2023 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
## Bluetooth
PRODUCT_PACKAGES += \
+ WadeBluetoothOverlay \
libbt-vendor
## GMS
PRODUCT_PACKAGES += \
dhd
-## Overlays
-DEVICE_PACKAGE_OVERLAYS += \
- $(LOCAL_PATH)/overlay
-
## Wi-Fi Firmware
include hardware/amlogic/kernel-modules/dhd-driver/firmware/firmware.mk
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2021 The LineageOS Project
-
- SPDX-License-Identifier: Apache-2.0
--->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <bool name="enable_phone_policy">false</bool>
- <bool name="pbap_include_photos_in_vcard">false</bool>
- <bool name="profile_supported_hdp">false</bool>
- <bool name="profile_supported_hs_hfp">false</bool>
- <bool name="profile_supported_opp">false</bool>
- <bool name="profile_supported_pbap">false</bool>
-</resources>
--- /dev/null
+//
+// Copyright (C) 2023 The LineageOS Project
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+runtime_resource_overlay {
+ name: "WadeBluetoothOverlay",
+ resource_dirs: ["res"],
+ sdk_version: "current",
+ proprietary: true
+}
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2023 The LineageOS Project
+
+ SPDX-License-Identifier: Apache-2.0
+-->
+<!-- Device specific bluetooth overlays -->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.android.bluetooth.wade"
+ android:versionCode="1"
+ android:versionName="1.0">
+ <application android:hasCode="false" />
+ <overlay
+ android:targetPackage="com.android.bluetooth"
+ android:isStatic="true"
+ android:priority="0"/>
+</manifest>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2021 The LineageOS Project
+
+ SPDX-License-Identifier: Apache-2.0
+-->
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <bool name="enable_phone_policy">false</bool>
+ <bool name="pbap_include_photos_in_vcard">false</bool>
+ <bool name="profile_supported_hdp">false</bool>
+ <bool name="profile_supported_hs_hfp">false</bool>
+ <bool name="profile_supported_opp">false</bool>
+ <bool name="profile_supported_pbap">false</bool>
+</resources>