summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorTony Mak <tonymak@google.com>2019-02-04 17:43:53 +0000
committerTony Mak <tonymak@google.com>2019-02-08 18:01:25 +0000
commit7ab8308992aae80736bd9114113401ca477dab98 (patch)
tree9e92a374c6821893bffcb3d888f7417071f58c8f /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent8e6dc3b7abb8f8c14080691ce5b97d2e1669e5bd (diff)
Do not generate smart suggestions if the last message is from local user
Also, instead of using Person.equals, introduce arePersonEqual. It is because Person.equals is doing == check on the icon, which may return false even the icons are actually the same. And fixed a bug in handling sender == null in Message. According to the javadoc of addMessage, person == null means the message is from the local user. Test: atest SmartActionsHelperTest BUG: 123996228 Change-Id: I0ab24d53796d4b124c23cacf3df25cd8705d4fb3
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions