sanders: override some system props
* Fix camera HAL that still expects ro.* instead of ro.vendor*
This commit is contained in:
@@ -76,6 +76,12 @@ void vendor_load_properties()
|
||||
if (platform != ANDROID_TARGET)
|
||||
return;
|
||||
|
||||
// camera (treble)
|
||||
property_override("ro.product.manufacturer", "motorola");
|
||||
property_override("ro.build.product", "sanders");
|
||||
property_override("ro.product.device", "sanders");
|
||||
property_override("ro.product.name", "sanders_retail");
|
||||
|
||||
// sku
|
||||
std::string sku = android::base::GetProperty("ro.boot.hardware.sku", "");
|
||||
property_override_dual("ro.product.model", "ro.vendor.product.model", sku.c_str());
|
||||
|
||||
Reference in New Issue
Block a user