androidboot.lrap => logical_partitions

Test: boots with prototype
Bug: 79885414
Change-Id: Ia84d052800b71ff9cfa1630def0ce72c57f76b81
This commit is contained in:
Yifan Hong 2018-05-31 13:07:31 -07:00
parent 3464bc4b43
commit 59bd65bdf6

View file

@ -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;
}
});