From 639943a7668ad4229942e1207128045d49e9ed02 Mon Sep 17 00:00:00 2001 From: twyen Date: Tue, 17 Oct 2017 18:13:45 -0700 Subject: Support bulk inserted voicemails. Bulk insert is implemented in ag/3073902 When more than one voicemail is inserted into the VoicemailProvider, the URI type is Voicemails.DIR_TYPE instead of ITEM_TYPE. This CL adds support to the new type. Previously when multiple voicemails are being notified, each one of them will generate a ringtone because the notifiction is set to alert children. In this CL, the summary will have alert instead, and will only alert when new voicemails are received. Bug: 21281858 Test: VisualVoicemailNotifierTest PiperOrigin-RevId: 172546076 Change-Id: I4df6098fc3a793139e3d4e77fe1339efdc001944 --- java/com/android/dialer/app/AndroidManifest.xml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'java/com/android/dialer/app/AndroidManifest.xml') diff --git a/java/com/android/dialer/app/AndroidManifest.xml b/java/com/android/dialer/app/AndroidManifest.xml index 2ef5dad14..ad771496d 100644 --- a/java/com/android/dialer/app/AndroidManifest.xml +++ b/java/com/android/dialer/app/AndroidManifest.xml @@ -86,6 +86,11 @@ android:mimeType="vnd.android.cursor.item/voicemail" android:scheme="content" /> + -- cgit v1.2.3