Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f4adb894 authored by Roman Kiryanov's avatar Roman Kiryanov
Browse files

Do not populate `ro.kernel.` properties in init



`ro.kernel.` is deprecated, emulator migrated to
`ro.boot.`.

Bug: 182291166
Test: presubmit
Signed-off-by: default avatarRoman Kiryanov <rkir@google.com>
Change-Id: I074f9a63dc4e3edcc01930b2e8481efd1d85eb55
parent 4872b73b
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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 =