summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorJeff DeCew <jeffdq@google.com>2020-07-07 15:53:50 -0400
committerJeff DeCew <jeffdq@google.com>2020-07-07 16:19:03 -0400
commit206e7d747e67fb7317b2e1b7d59728fa3fc52be8 (patch)
treede75256da3048171cbadd505ed140eae6e3f79f7 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent62b824a3f813a864b0feebad338607fc346dac72 (diff)
Prevent bell icon from disappearing on immediate followup notification.
The Ranking object of a notification update has lastAudiblylertedMs of -1 if the notification did not buzz because a buzz happened within the last 5s. This causes the bell icon to disappear on a conversation where a person posted twice within 5s. This is resolved by copying the lastAudiblyAlertedMs from the NotificationEntry's existing Ranking when setting a new one, if the new Ranking's value is -1. Bug: 156887617 Test: Update an alerting notification within 5s of update which caused an alert; bell should stay even though buzz is skipped. Change-Id: Ibb72ab27c88cfa57add781e2746fff0eee5de6be
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions