Skip to content
Commit d162de93 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Remove activity without process before killing from force-stop

Otherwise when killing the process, the died process cannot match
the activities without process, then the process which should be
killed may be started again by resuming the next top activity
while handling visible app died.

Bug: 161334165
Bug: 160236531
Test: atest RootWindowContainerTests#testForceStopPackage
Test: atest CtsAppTestCases:ActivityManagerTest# \
            testForceStopPackageWontRestartProcess
Change-Id: I71b07681f39a8d4e84f5c5c2cd63e064561c3091
parent 82658d6c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment