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

Commit b211358b authored by Jing Ji's avatar Jing Ji
Browse files

Add the missing lock on the process start timeout handling

Bug: 231941936
Bug: 226712203
Test: Manual
Change-Id: Ia2c96fc5a73a7c946f01a308f57530c6a900946a
parent a7f5aa5b
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -2028,8 +2028,10 @@ public final class ProcessList {
                    mService.mProcessList.handlePredecessorProcDied((ProcessRecord) msg.obj);
                    break;
                case MSG_PROCESS_KILL_TIMEOUT:
                    synchronized (mService) {
                        mService.handleProcessStartOrKillTimeoutLocked((ProcessRecord) msg.obj,
                                /* isKillTimeout */ true);
                    }
                    break;
            }
        }