sdm660: libinit: Use ro.product.vendor.device for device check

*ro.product.name is no longer used in 10
This commit is contained in:
Max Weffers 2019-12-14 23:18:30 +01:00
parent 98c3540df1
commit 827979ec04
No known key found for this signature in database
GPG key ID: 795F73D22FB93FAE

View file

@ -74,7 +74,7 @@ void property_override_dual(char const system_prop[],
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) {
std::string hw_device;