universal7885: Add other 7885 devices

* A10, A30, A40

Change-Id: I92829c4d3b11e2759f08ef04fe4d4d60ff352a0b
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
roynatech2544 2021-12-01 22:34:21 +09:00
commit eaab77ceff
No known key found for this signature in database
GPG key ID: 9675C32163D88D30
30 changed files with 680 additions and 34 deletions

View file

@ -10,14 +10,18 @@ static inline const char* BtmGetDefaultName()
{
char product_device[PROPERTY_VALUE_MAX];
property_get("ro.product.device", product_device, "");
if (strstr(product_device, "a10"))
return "Galaxy A10";
if (strstr(product_device, "a20e"))
return "Galaxy A20e";
if (strstr(product_device, "a20"))
return "Galaxy A20";
// Fallback to Moto SDM Generic
if (strstr(product_device, "a30"))
return "Galaxy A30";
if (strstr(product_device, "a40"))
return "Galaxy A40";
// Fallback to Generic
return "Samsung Galaxy";
}