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

Commit 59bd65bd authored by Yifan Hong's avatar Yifan Hong
Browse files

androidboot.lrap => logical_partitions

Test: boots with prototype
Bug: 79885414
Change-Id: Ia84d052800b71ff9cfa1630def0ce72c57f76b81
parent 3464bc4b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -123,7 +123,7 @@ static inline bool IsDmLinearEnabled() {
    bool enabled = false;
    import_kernel_cmdline(
        false, [&enabled](const std::string& key, const std::string& value, bool in_qemu) {
            if (key == "androidboot.lrap" && value == "1") {
            if (key == "androidboot.logical_partitions" && value == "1") {
                enabled = true;
            }
        });