potter: cleanup init
This commit is contained in:
@@ -50,6 +50,7 @@ void num_sims() {
|
|||||||
void vendor_load_properties()
|
void vendor_load_properties()
|
||||||
{
|
{
|
||||||
std::string platform = property_get("ro.board.platform");
|
std::string platform = property_get("ro.board.platform");
|
||||||
|
|
||||||
if (platform != ANDROID_TARGET)
|
if (platform != ANDROID_TARGET)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@@ -74,3 +75,4 @@ void vendor_load_properties()
|
|||||||
property_set("ro.hw.nfc", "true");
|
property_set("ro.hw.nfc", "true");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user