sdm660: libinit: Use ro.product.vendor.device for device check
*ro.product.name is no longer used in 10
This commit is contained in:
parent
98c3540df1
commit
827979ec04
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ void property_override_dual(char const system_prop[],
|
||||||
|
|
||||||
void vendor_load_properties()
|
void vendor_load_properties()
|
||||||
{
|
{
|
||||||
std::string product = GetProperty("ro.product.name", "");
|
std::string product = GetProperty("ro.product.vendor.device", "");
|
||||||
if (product.find("clover") != std::string::npos) {
|
if (product.find("clover") != std::string::npos) {
|
||||||
|
|
||||||
std::string hw_device;
|
std::string hw_device;
|
||||||
|
|
Loading…
Reference in a new issue