potter: fix custom init
Change-Id: I823167e169b3e5ca13734431e70fcd4d810deeb6
This commit is contained in:
@@ -35,9 +35,6 @@
|
|||||||
#include "property_service.h"
|
#include "property_service.h"
|
||||||
#include "vendor_init.h"
|
#include "vendor_init.h"
|
||||||
|
|
||||||
namespace android {
|
|
||||||
namespace init {
|
|
||||||
|
|
||||||
void property_override(char const prop[], char const value[])
|
void property_override(char const prop[], char const value[])
|
||||||
{
|
{
|
||||||
prop_info *pi;
|
prop_info *pi;
|
||||||
@@ -70,7 +67,7 @@ void vendor_load_properties()
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
std::string sku = android::base::GetProperty("ro.boot.hardware.sku", "");
|
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
|
// rmt_storage
|
||||||
std::string device = android::base::GetProperty("ro.boot.device", "");
|
std::string device = android::base::GetProperty("ro.boot.device", "");
|
||||||
@@ -94,6 +91,3 @@ void vendor_load_properties()
|
|||||||
property_set("ro.hw.dtv", "true");
|
property_set("ro.hw.dtv", "true");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user