#
-# Copyright (C) 2022 The LineageOS Project
+# Copyright (C) 2022-2023 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
BOARD_HAVE_BLUETOOTH_RTK_TV := true
include hardware/realtek/rtkbt/rtkbt.mk
+PRODUCT_PACKAGES += \
+ BeastBluetoothOverlay
+
## Init-Files
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/init-files/init.amlogic.wifi_buildin.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.wifi_buildin.rc
PRODUCT_PACKAGES += \
8822bs
-## Overlays
-DEVICE_PACKAGE_OVERLAYS += \
- $(LOCAL_PATH)/overlay
-
## Platform
TARGET_AMLOGIC_SOC := gxl
+++ /dev/null
-<resources>
- <bool name="profile_supported_opp">false</bool>
- <bool name="profile_supported_hdp">false</bool>
- <bool name="profile_supported_hs_hfp">false</bool>
- <bool name="profile_supported_pbap">false</bool>
- <bool name="pbap_include_photos_in_vcard">false</bool>
- <bool name="enable_phone_policy">false</bool>
-</resources>
--- /dev/null
+//
+// Copyright (C) 2023 The LineageOS Project
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+runtime_resource_overlay {
+ name: "BeastBluetoothOverlay",
+ 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.beast"
+ 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
+<resources>
+ <bool name="profile_supported_opp">false</bool>
+ <bool name="profile_supported_hdp">false</bool>
+ <bool name="profile_supported_hs_hfp">false</bool>
+ <bool name="profile_supported_pbap">false</bool>
+ <bool name="pbap_include_photos_in_vcard">false</bool>
+ <bool name="enable_phone_policy">false</bool>
+</resources>