*Always* kill the right uid's group

Bug 19285814

Change-Id: Ifd49926f49911af3439f2a2a507908ecd3a2db25
This commit is contained in:
Christopher Tate
2016-03-24 12:52:56 -07:00
parent 0effee8849
commit e8741d23d2

View File

@@ -558,7 +558,7 @@ final class ProcessRecord {
}
EventLog.writeEvent(EventLogTags.AM_KILL, userId, pid, processName, setAdj, reason);
Process.killProcessQuiet(pid);
Process.killProcessGroup(info.uid, pid);
Process.killProcessGroup(uid, pid);
if (!persistent) {
killed = true;
killedByAm = true;