Fix DTV Modules and Add device specific property sets

This commit is contained in:
Keertesh
2018-07-16 11:38:32 +05:30
parent f0ec66ea17
commit 757f14a128
2 changed files with 15 additions and 0 deletions

View File

@@ -93,4 +93,15 @@ void vendor_load_properties()
property_set("ro.hw.imager", "12MP");
num_sims();
if (sku == "XT1806") {
property_set("ro.hw.ecompass", "true");
property_set("ro.hw.nfc", "false");
}
else {
property_set("ro.hw.ecompass", "false");
property_set("ro.hw.nfc", "true");
}
if (sku == "XT1802") {
property_set("ro.hw.dtv", "true");
}
}