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");
}
}

View File

@@ -767,6 +767,10 @@ service iprenew_wigig0 /system/bin/dhcpcd -n
on property:ro.hw.dtv=true
insmod /system/vendor/lib/modules/isdbt.ko
on property:crypto.driver.load=1
insmod /system/lib/modules/qce.ko
insmod /system/lib/modules/qcedev.ko
service wlan_logging /system/bin/cnss_diag -q -f
class main
user system