diff options
author | Tony Mak <tonymak@google.com> | 2019-02-04 17:43:53 +0000 |
---|---|---|
committer | Tony Mak <tonymak@google.com> | 2019-02-08 18:01:25 +0000 |
commit | 7ab8308992aae80736bd9114113401ca477dab98 (patch) | |
tree | 9e92a374c6821893bffcb3d888f7417071f58c8f /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 8e6dc3b7abb8f8c14080691ce5b97d2e1669e5bd (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