msm8953-common: add support for albus

Signed-off-by: jeangraff30 <jeangraff30@gmail.com>
This commit is contained in:
jeangraff30
2020-12-10 20:29:36 -03:00
parent 29dcca4f37
commit 106e3b7277
4 changed files with 6 additions and 4 deletions

View File

@@ -15,7 +15,7 @@
LOCAL_PATH := $(call my-dir) 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)) include $(call all-makefiles-under,$(LOCAL_PATH))

View File

@@ -5,4 +5,4 @@ Device configuration for Motorola msm8953 Devices
Supported devices : Supported devices :
Ali, Sanders Ali, Albus, Sanders

View File

@@ -29,6 +29,8 @@ static inline const char* BtmGetDefaultName()
if (strstr(product_device, "ali")) if (strstr(product_device, "ali"))
return "Moto G(6)"; return "Moto G(6)";
if (strstr(product_device, "albus"))
return "Moto Z2 Play";
if (strstr(product_device, "sanders")) if (strstr(product_device, "sanders"))
return "Moto G(5)S"; return "Moto G(5)S";

View File

@@ -18,7 +18,7 @@
set -e set -e
DEVICE_COMMON=msm8953-common DEVICE_COMMON=msm8953-common
GUARDED_DEVICES_COMMON="ali sanders" GUARDED_DEVICES_COMMON="ali albus sanders"
VENDOR=motorola VENDOR=motorola
INITIAL_COPYRIGHT_YEAR=2020 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 write_makefiles "${DEVICE_DIR}"/proprietary-files.txt true
# We are done! # We are done!
write_footers write_footers
fi fi