summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorBernardo Rufino <brufino@google.com>2021-01-06 09:30:30 +0000
committerBernardo Rufino <brufino@google.com>2021-01-06 09:30:30 +0000
commit655252edfeca39adca9c1e0cfd1ea6b5e80081bb (patch)
tree2d85a64edfce3ee80876e9238ea0eebff6107a35 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent7b14bd63326b336f2bd471b15586c907d9aa7eae (diff)
Perform null check before updating originating tokens
Turns out it's possible that when the callback is processed there is no process attached to the ServiceRecord despite it being allowed for bg activity starts "by start". This can happen for example if we call allowBgActivityStartsOnServiceStart() twice without a process attached. This was handled before ag/12559801, so also needs to be handled in the new code-path. Bug: 176813978 Test: atest BackgroundActivityLaunchTest Change-Id: I2024f5cb4da78a93c868a63e45c00567c20848ba
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions