diff --git a/init/service.cpp b/init/service.cpp index 8456d1ee4..35beaad33 100644 --- a/init/service.cpp +++ b/init/service.cpp @@ -453,6 +453,7 @@ Result Service::CheckConsole() { // disable services requiring the console. For older kernels and boot // images, not setting this at all will fall back to the old behavior if (GetProperty("ro.boot.serialconsole", "") == "0") { + flags_ |= SVC_DISABLED; return {}; }