diff options
Diffstat (limited to 'init/init_wayne.cpp')
-rw-r--r-- | init/init_wayne.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/init/init_wayne.cpp b/init/init_wayne.cpp index 4964568..7f66f8c 100644 --- a/init/init_wayne.cpp +++ b/init/init_wayne.cpp @@ -54,28 +54,6 @@ char const *heapsize; char const *heapminfree; char const *heapmaxfree; -static void init_finger_print_properties() -{ - std::ifstream fin; - std::string buf; - - std::string product = GetProperty("ro.product.name", ""); - if (product.find("wayne") == std::string::npos) - return; - - fin.open("/proc/cmdline"); - while (std::getline(fin, buf, ' ')) - if (buf.find("fpsensor") != std::string::npos) - break; - fin.close(); - - if (buf.find("fpc") != std::string::npos) { - property_set("ro.boot.fingerprint", "fpc"); - } else { - property_set("ro.boot.fingerprint", "goodix"); - } -} - static void init_alarm_boot_properties() { char const *boot_reason_file = "/proc/sys/kernel/boot_reason"; @@ -137,7 +115,6 @@ void vendor_load_properties() { init_alarm_boot_properties(); check_device(); - init_finger_print_properties(); property_set("dalvik.vm.heapstartsize", heapstartsize); property_set("dalvik.vm.heapgrowthlimit", heapgrowthlimit); |