From f4adb894ccda523f02f7cb94058a05ac6aebdaaa Mon Sep 17 00:00:00 2001 From: Roman Kiryanov Date: Wed, 14 Apr 2021 20:29:34 -0700 Subject: [PATCH] Do not populate `ro.kernel.` properties in init `ro.kernel.` is deprecated, emulator migrated to `ro.boot.`. Bug: 182291166 Test: presubmit Signed-off-by: Roman Kiryanov Change-Id: I074f9a63dc4e3edcc01930b2e8481efd1d85eb55 --- init/property_service.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/init/property_service.cpp b/init/property_service.cpp index c2eb73c61..17c36bb32 100644 --- a/init/property_service.cpp +++ b/init/property_service.cpp @@ -1187,8 +1187,6 @@ static void ProcessKernelCmdline() { if (StartsWith(key, ANDROIDBOOT_PREFIX)) { InitPropertySet("ro.boot." + key.substr(ANDROIDBOOT_PREFIX.size()), value); } else if (StartsWith(key, qemu_prefix)) { - InitPropertySet("ro.kernel." + key, value); // emulator specific, deprecated - // emulator specific, should be retired once emulator migrates to // androidboot. const auto new_name =