Merge "androidboot.lrap => logical_partitions"

This commit is contained in:
Yifan Hong 2018-05-31 22:05:06 +00:00 committed by Gerrit Code Review
commit 05625ab420

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