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

Commit 8b872f5c authored by Jing Ji's avatar Jing Ji Committed by Android (Google) Code Review
Browse files

Merge "Fix NullPointerException in PhantomProcessList due to race condition" into sc-dev

parents fda724a5 0a05f547
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -365,6 +365,9 @@ public final class PhantomProcessList {
    private int onPhantomProcessFdEvent(FileDescriptor fd, int events) {
        synchronized (mLock) {
            final PhantomProcessRecord proc = mPhantomProcessesPidFds.get(fd.getInt$());
            if (proc == null) {
                return 0;
            }
            if ((events & EVENT_INPUT) != 0) {
                proc.onProcDied(true);
            } else {