Commit d4ad2fb9 authored by Bernhard Thoben's avatar Bernhard Thoben
Browse files

suzuran: Adapted previous commit to LineageOS 17.1.

Change-Id: I8a7c50f43a8f77102968f0f9ad8cd3cf840b6fc4
parent e949a970
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include "property_service.h" #include "property_service.h"
#include "util.h" #include "util.h"
using android::init::ImportKernelCmdline; using android::init::import_kernel_cmdline;
constexpr auto LTALABEL_PATH = "/dev/block/platform/soc.0/f9824900.sdhci/by-name/LTALabel"; constexpr auto LTALABEL_PATH = "/dev/block/platform/soc.0/f9824900.sdhci/by-name/LTALabel";
...@@ -94,7 +94,5 @@ static void import_kernel_nv(const std::string& key, ...@@ -94,7 +94,5 @@ static void import_kernel_nv(const std::string& key,
void vendor_load_properties() void vendor_load_properties()
{ {
ImportKernelCmdline([&](const std::string& key, const std::string& value) { import_kernel_cmdline(0, import_kernel_nv);
import_kernel_nv(key, value, false);
});
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment