From 106e3b727700b5d2d33543f269cf12c0a13292ab Mon Sep 17 00:00:00 2001 From: jeangraff30 Date: Thu, 10 Dec 2020 20:29:36 -0300 Subject: [PATCH] msm8953-common: add support for albus Signed-off-by: jeangraff30 --- Android.mk | 2 +- README.md | 2 +- bluetooth/bdroid_buildcfg.h | 2 ++ setup-makefiles.sh | 4 ++-- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Android.mk b/Android.mk index c5f904a..6e8eada 100644 --- a/Android.mk +++ b/Android.mk @@ -15,7 +15,7 @@ LOCAL_PATH := $(call my-dir) -ifneq ($(filter ali sanders,$(TARGET_DEVICE)),) +ifneq ($(filter ali albus sanders,$(TARGET_DEVICE)),) include $(call all-makefiles-under,$(LOCAL_PATH)) diff --git a/README.md b/README.md index 65243ae..af9eea1 100644 --- a/README.md +++ b/README.md @@ -5,4 +5,4 @@ Device configuration for Motorola msm8953 Devices Supported devices : -Ali, Sanders \ No newline at end of file +Ali, Albus, Sanders diff --git a/bluetooth/bdroid_buildcfg.h b/bluetooth/bdroid_buildcfg.h index 2924c87..221a7b0 100644 --- a/bluetooth/bdroid_buildcfg.h +++ b/bluetooth/bdroid_buildcfg.h @@ -29,6 +29,8 @@ static inline const char* BtmGetDefaultName() if (strstr(product_device, "ali")) return "Moto G(6)"; + if (strstr(product_device, "albus")) + return "Moto Z2 Play"; if (strstr(product_device, "sanders")) return "Moto G(5)S"; diff --git a/setup-makefiles.sh b/setup-makefiles.sh index 0136bff..4d52bc2 100755 --- a/setup-makefiles.sh +++ b/setup-makefiles.sh @@ -18,7 +18,7 @@ set -e DEVICE_COMMON=msm8953-common -GUARDED_DEVICES_COMMON="ali sanders" +GUARDED_DEVICES_COMMON="ali albus sanders" VENDOR=motorola INITIAL_COPYRIGHT_YEAR=2020 @@ -67,4 +67,4 @@ if ([[ "$ONLY_COMMON" = "false" ]] || [[ -z "$ONLY_COMMON" ]]) && [[ -s "${DEVIC write_makefiles "${DEVICE_DIR}"/proprietary-files.txt true # We are done! write_footers -fi \ No newline at end of file +fi