summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/app/list/SmartDialNumberListAdapter.java
diff options
context:
space:
mode:
authortwyen <twyen@google.com>2017-12-19 10:52:03 -0800
committerCopybara-Service <copybara-piper@google.com>2017-12-19 11:29:58 -0800
commitf2a5a2786c2064d320ec524901aaaee24db834b1 (patch)
tree9dac7860ec2d4ffe3b1a011a7e6f39b3f5add60a /java/com/android/dialer/app/list/SmartDialNumberListAdapter.java
parentd55b09c780dad2fdbc851e60c7fd05f531b10425 (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 'java/com/android/dialer/app/list/SmartDialNumberListAdapter.java')
0 files changed, 0 insertions, 0 deletions