From b99c12ef10dc52f25e87e148fa86484b5d4d8e1b Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Thu, 28 Jan 2021 21:13:49 +0900 Subject: [PATCH] Remove ART APEX from the bootstrap apexes Test: forrest Bug: 169779935 Change-Id: I65e2a2089fa12674f3abbbe2f154eeec984dd5df --- init/service.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/init/service.cpp b/init/service.cpp index f6ce094ef..cfb82842d 100644 --- a/init/service.cpp +++ b/init/service.cpp @@ -127,8 +127,7 @@ static bool ExpandArgsAndExecv(const std::vector& args, bool sigsto static bool AreRuntimeApexesReady() { struct stat buf; - return stat("/apex/com.android.art/", &buf) == 0 && - stat("/apex/com.android.runtime/", &buf) == 0; + return stat("/apex/com.android.runtime/", &buf) == 0; } unsigned long Service::next_start_order_ = 1;