venus: Replace BTM_DEF_LOCAL_NAME with a sysprop

Change-Id: I2c90efac01e61500eb1be23bb0ae6f96c2acdc53
This commit is contained in:
Sal Savage
2022-04-15 15:38:17 -07:00
committed by Ramii Ahmed
parent 1f59922aae
commit 1437d5b5d2
2 changed files with 12 additions and 0 deletions

View File

@@ -25,5 +25,9 @@ DEVICE_PACKAGE_OVERLAYS += \
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH)
# Rootdir
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/etc/init.venus.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.venus.rc
# Call the proprietary setup
$(call inherit-product, vendor/xiaomi/venus/venus-vendor.mk)

View File

@@ -0,0 +1,8 @@
#
# Copyright (C) 2023 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
on boot
setprop bluetooth.device.default_name "Mi 11"