Merge "Revert "Remove ART APEX from the bootstrap apexes""
This commit is contained in:
commit
6ba9afd1e9
1 changed files with 2 additions and 1 deletions
|
|
@ -127,7 +127,8 @@ static bool ExpandArgsAndExecv(const std::vector<std::string>& args, bool sigsto
|
|||
|
||||
static bool AreRuntimeApexesReady() {
|
||||
struct stat buf;
|
||||
return stat("/apex/com.android.runtime/", &buf) == 0;
|
||||
return stat("/apex/com.android.art/", &buf) == 0 &&
|
||||
stat("/apex/com.android.runtime/", &buf) == 0;
|
||||
}
|
||||
|
||||
unsigned long Service::next_start_order_ = 1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue