androidboot.lrap => logical_partitions
Test: boots with prototype Bug: 79885414 Change-Id: Ia84d052800b71ff9cfa1630def0ce72c57f76b81
This commit is contained in:
parent
3464bc4b43
commit
59bd65bdf6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue