Merge "Revert "Fix race conditions in removing dying process record""
This commit is contained in:
committed by
Android (Google) Code Review
commit
b3546c6406
@@ -5144,8 +5144,7 @@ public final class ProcessList {
|
||||
}
|
||||
|
||||
Watchdog.getInstance().processDied(app.processName, app.getPid());
|
||||
if (app.getDeathRecipient() == null
|
||||
&& mDyingProcesses.get(app.processName, app.uid) == app) {
|
||||
if (app.getDeathRecipient() == null) {
|
||||
// If we've done unlinkDeathRecipient before calling into this, remove from dying list.
|
||||
mDyingProcesses.remove(app.processName, app.uid);
|
||||
app.setDyingPid(0);
|
||||
|
||||
Reference in New Issue
Block a user