Merge AOSP android-9.0.0_r3
Fix conflicts and make it build in 5.1, 6.0, 7.1, 8.1, and 9.0 Change-Id: Ida0a64c29ff27d339b7f42a18d820930964ac6e4
This commit is contained in:
@@ -152,7 +152,6 @@ int TWFunc::Wait_For_Child_Timeout(pid_t pid, int *status, const string& Child_N
|
||||
if (retpid == 0 && timeout == 0) {
|
||||
LOGERR("%s took too long, killing process\n", Child_Name.c_str());
|
||||
kill(pid, SIGKILL);
|
||||
int died = 0;
|
||||
for (timeout = 5; retpid == 0 && timeout; --timeout) {
|
||||
sleep(1);
|
||||
retpid = waitpid(pid, status, WNOHANG);
|
||||
|
||||
Reference in New Issue
Block a user