diff options
author | twyen <twyen@google.com> | 2017-12-19 10:52:03 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2017-12-19 11:29:58 -0800 |
commit | f2a5a2786c2064d320ec524901aaaee24db834b1 (patch) | |
tree | 9dac7860ec2d4ffe3b1a011a7e6f39b3f5add60a /packages.mk | |
parent | d55b09c780dad2fdbc851e60c7fd05f531b10425 (diff) |
Ignore deleted voicemail for notification
Some voicemail sources keep deleted voicemails in the database for a while. Before this CL if the voicemail is deleted through blocking it will still be returned with CallLogNotificationQueryHelper.getNewVoicemail(), and deleted again. The Deletion triggers a notification update, and the phone enters a loop. If there are other voicemails, the phone will alert every time.
In this CL, deleted voicemails are no longer returned with the new voicemail query. Also if All voicemails already has a notification, the user will not be alerted.
Bug: 70585368
Test: VisualVoicmailUpdateTaskTest, CallLogNotificationQueryHelperTest
PiperOrigin-RevId: 179575512
Change-Id: I352bbf7d0a9d5e2132b5f968e5b5776c9fd518c6
Diffstat (limited to 'packages.mk')
0 files changed, 0 insertions, 0 deletions