summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2019-01-24 19:00:58 +0800
committerRiddle Hsu <riddlehsu@google.com>2019-01-30 00:27:26 +0800
commitaaef73198e45002f4535a15c2c977f9aa12c19ac (patch)
tree62439203af7b19d1fd36a895ffe7861b07b4117d /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent8e519294b0091cb55ac70a698c428e4c15294b7d (diff)
Ensure force-stopped process do not start again during cleanup
By setting all activities of the removed process as finishing, those activities haven’t been removed won't be the candidate of top or visible activity. Also adjust the conditions to set ProcessRecord.removed to fit the original meaning a bit. That should be used to indicate the process is killed for the change of package state. Now ProcessRecord.removed will only be set when force-stop or crash too many times. Fixes: 114117787 Fixes: 37070733 Test: atest ActivityManagerTest#testForceStopPackageWontRestartProcess Test: atest ActivityStackTests Change-Id: Ia2975c2e4ece8600307b317f124354ecdca55d31
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions