check thread group leader before killing process

In internal testing, we found that there was a restart issue caused by the reuse of the app's PID into the system server's TID

Bug: 383666736
Test: Manual

Change-Id: I5ff8464621486f33825cf949b7adf0ab5b474e6a
1 file changed