potter: fix custom init

Change-Id: I823167e169b3e5ca13734431e70fcd4d810deeb6
This commit is contained in:
Vachounet
2017-09-08 13:49:31 +02:00
parent ffdf3353f1
commit 5ec98ba4f3

View File

@@ -35,9 +35,6 @@
#include "property_service.h"
#include "vendor_init.h"
namespace android {
namespace init {
void property_override(char const prop[], char const value[])
{
prop_info *pi;
@@ -70,7 +67,7 @@ void vendor_load_properties()
return;
std::string sku = android::base::GetProperty("ro.boot.hardware.sku", "");
property_override("ro.product.model", sku.c_str());
property_set("ro.product.model", sku.c_str());
// rmt_storage
std::string device = android::base::GetProperty("ro.boot.device", "");
@@ -94,6 +91,3 @@ void vendor_load_properties()
property_set("ro.hw.dtv", "true");
}
}
}
}