lisa: 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 Giovanni Ricca
parent 538a5afe0d
commit d16c367bbb
No known key found for this signature in database
GPG Key ID: 61E6552837A234F0
2 changed files with 18 additions and 0 deletions

View File

@ -33,6 +33,10 @@ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/sound_trigger_mixer_paths_yupikqrd.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_yupik/sound_trigger_mixer_paths_yupikqrd.xml \
$(LOCAL_PATH)/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_yupik/sound_trigger_platform_info.xml
# Rootdir
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/etc/init.lisa.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.lisa.rc
# WiFi Display
PRODUCT_SYSTEM_PROPERTIES += \
vendor.sys.video.disable.ubwc=1

14
rootdir/etc/init.lisa.rc Normal file
View File

@ -0,0 +1,14 @@
#
# Copyright (C) 2023 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
on boot && property:ro.boot.hwc=CN
setprop bluetooth.device.default_name "Mi 11 LE"
on boot && property:ro.boot.hwc=GL
setprop bluetooth.device.default_name "Xiaomi 11 Lite 5G NE"
on boot && property:ro.boot.hwc=IN
setprop bluetooth.device.default_name "Xiaomi 11 Lite NE"