Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@
#include "property_service.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";

@@ -94,7 +94,5 @@ static void import_kernel_nv(const std::string& key,

void vendor_load_properties()
{
    ImportKernelCmdline([&](const std::string& key, const std::string& value) {
        import_kernel_nv(key, value, false);
    });
    import_kernel_cmdline(0, import_kernel_nv);
}