Recheck the condition before really killing

Since the kill is asynchronously scheduled in the Handler, logically,
before scheduling, the process may be operated by the user to the
foreground or raising to an important ADJ and then be killed abnormally.

Bug: 235565625
Change-Id: Ied40d3ad22caa4d6c89055fdf85affb905d44d23
1 file changed