summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorAndrii Kulian <akulian@google.com>2018-03-19 18:19:05 -0700
committerAndrii Kulian <akulian@google.com>2018-03-19 18:41:15 -0700
commit829829ca2c1804147dd42b106e5d7f1efe99a1f9 (patch)
tree456245dc71318481975d2ea6174fdf3bd907a7a5 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parentbd65574db64c1b78c84d95449a1309173169cffb (diff)
Don't throw exception for duplicate stop
A double stop request is possible when display is being locked. An activity may receive a "sleep" message followed by "stop", both of which try to move it to stopped state. An example when this happens: a keyguard is set up and the screen is being locked. The keyguard will occlude the activity, which causes a transition to paused state and, eventually, to stopped state. A "sleep" message can be sent sometime before "stop" message and will ignore that activity is in the process of becoming stopped. Change-Id: I09e2c26004664b6e73ac5c2b6fe88bdf8271cf34 Fixes: 74967786 Test: FrameworksCoreTests:ActivityThreadTest
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions