android: Add method to kill child process
Add a kill method to ChildProcessConnection to force kill the service.
Also add a new field that keeps track of whether the process is killed
intentionally. Add a junit test to verify this.
Bug: 693484
Change-Id: Iaae9e82e611be97b9694fc8d67b23ba090220840
Reviewed-on: https://chromium-review.googlesource.com/1003635
Reviewed-by: Yaron Friedman <yfriedman@chromium.org>
Reviewed-by: Robert Sesek <rsesek@chromium.org>
Reviewed-by: Jay Civelli <jcivelli@chromium.org>
Commit-Queue: Bo <boliu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550744}
CrOS-Libchrome-Original-Commit: 261d11078d4f67a346c1ea2275d21680a7bf641d
4 files changed