Merge "Do not kill the server process itself" am: b38b1408dc
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2503855 Change-Id: I7fef2f3fed608a61a248f5589d4c807b70db04cd 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);
|
||||
app.setPendingStart(false);
|
||||
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,
|
||||
ApplicationExitInfo.SUBREASON_INVALID_START, reason);
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user