sanders: override some system props

* Fix camera HAL that still expects ro.* instead of ro.vendor*
This commit is contained in:
Vachounet
2018-06-02 08:54:05 +02:00
committed by therootlord
parent 84b87de13c
commit aa2a398549

View File

@@ -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());