summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorTony Mak <tonymak@google.com>2019-01-29 12:39:21 +0000
committerTony Mak <tonymak@google.com>2019-01-29 13:37:56 +0000
commit41bf871e8e11df37deec902a0fcd6fe860ce7e11 (patch)
tree006716063137917c587618d744a3fa681e76624b /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent92fd290867b1e43f9f6f0d7869e43edce251f061 (diff)
Fix logging in ExtServices for Q Beta
Two issues: 1. The notification key -> logging id mapping should be removed whenever suggest() is called as the session is considered to be ended. 2. We were only storing the key -> logging id mapping when suggestConversationActions generated some replies. Thus, when only smart actions are generated from generateLinks, we didn't log it (as the mapping is missing) So, we now always cache the ID after calling suggestConversationActions. Remove the mapping when we find that neither actions or replies are generated. PS: We have a CL (ag/6033786) to switch to suggestConversationActions, fix for #2 is no longer needed once it is in. But that change won't be in before Android Beta as the model side change is not done. BUG: 120803809 Test: Manual. Send a message with URL, observer subsequent events (e.g: clicked) are logged. Test: atest SmartActionHelperTest Change-Id: Iea1a46466846ef99d51316dcbb294bfe0cf33653
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions