summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorBryce Lee <brycelee@google.com>2017-12-04 16:16:27 -0800
committerBryce Lee <brycelee@google.com>2017-12-05 09:26:38 -0800
commitd9cce2cadb791d4d8e913eabb3238268b7c9813f (patch)
tree96678ff5da8c39763f0985cd43b577519064571d /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parentd52efa56adaca0bc70fb72082c7c663adcb669cc (diff)
Ensure activity stacks have unique ids.
Currently ActivityStackSupervisor will return the first id that it discovers that is not added to the display. However, stack addition logic is written in a way where multiple stacks can be created before being added. This leads to multiple stacks with the same id. This changelist corrects this collision by always incrementing the current stack after returning it to the caller. The check to see if the id is in use has been removed and the bookkeeping is now in ActivityDisplay. Change-Id: I2c1b86ef8d74b9aa2eac134ac546c0111fa5e22c Fixes: 68952156 Test: atest CtsActivityManagerDeviceTestCases:android.server.am.ActivityManagerAppConfigurationTests#testSameConfigurationSplitFullSplitNoRelaunch Test: atest CtsActivityManagerDeviceTestCases:android.server.am.ActivityManagerAppConfigurationTests#testSameConfigurationSplitFullSplitRelaunch
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions