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 <rkir@google.com>
Change-Id: I074f9a63dc4e3edcc01930b2e8481efd1d85eb55
This commit is contained in:
Roman Kiryanov 2021-04-14 20:29:34 -07:00
parent 4872b73b9e
commit f4adb894cc

View file

@ -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 =