Merge "Do not kill the server process itself" am: b38b1408dc am: 629a3621d3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2503855 Change-Id: I2dc9a4d71862a2663b2cb7cd14150f3484de3baf Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -2573,7 +2573,10 @@ public final class ProcessList {
|
|||||||
+ ", " + reason);
|
+ ", " + reason);
|
||||||
app.setPendingStart(false);
|
app.setPendingStart(false);
|
||||||
killProcessQuiet(pid);
|
killProcessQuiet(pid);
|
||||||
Process.killProcessGroup(app.uid, app.getPid());
|
final int appPid = app.getPid();
|
||||||
|
if (appPid != 0) {
|
||||||
|
Process.killProcessGroup(app.uid, appPid);
|
||||||
|
}
|
||||||
noteAppKill(app, ApplicationExitInfo.REASON_OTHER,
|
noteAppKill(app, ApplicationExitInfo.REASON_OTHER,
|
||||||
ApplicationExitInfo.SUBREASON_INVALID_START, reason);
|
ApplicationExitInfo.SUBREASON_INVALID_START, reason);
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user