summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorFelipe Leme <felipeal@google.com>2019-01-28 14:59:46 -0800
committerFelipe Leme <felipeal@google.com>2019-01-28 15:02:53 -0800
commiteffa5f438369810a3381cec612ab02deeda92f4c (patch)
treebda1a5eb4cdff611114ed2c0649862d55d8c0892 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parentf2aa0d2214dc557de5071ddf46a479ce1cde0402 (diff)
Fixed ContentCaptureManager.getServiceComponentName()
Here's the current code: mHandler.sendMessage(obtainMessage(ContentCaptureManager::handleGetComponentName, this, resultReceiver)); return resultReceiver.getParcelableResult(); That code posts a message to a handler, than blocks waiting for the result. It used to work fine, but now it deadlocks because the handler is also running in the UI thread. The solution is to not use the handler anymore, at least for these non-session related methods. Test: atest BlankActivityTest#testGetServiceComponentName_onUi Fixes: 123521559 Change-Id: I774dc6338f685d185447cd61da31bcc63b085996
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions