Fixes for voicemail notifications.
- Handle multiple notifications.
- Clear notifications correctly.
- Show un-cleared notifications on reboot.
Bug: 4968721
Change-Id: I1bd1eda4d75371fb7ba92063d74a61de232b61d6
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index ff7c089..6856452 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -647,7 +647,7 @@
android:resource="@xml/social_widget_info" />
</receiver>
- <receiver android:name=".calllog.NewVoicemailReceiver">
+ <receiver android:name=".calllog.CallLogReceiver">
<intent-filter>
<action android:name="android.intent.action.NEW_VOICEMAIL" />
<data
@@ -655,6 +655,9 @@
android:host="com.android.voicemail"
/>
</intent-filter>
+ <intent-filter android:priority="100">
+ <action android:name="android.intent.action.BOOT_COMPLETED"/>
+ </intent-filter>
</receiver>
<activity
@@ -664,5 +667,10 @@
<action android:name="android.intent.action.APPWIDGET_PICK" />
</intent-filter>
</activity>
+
+ <service
+ android:name=".calllog.CallLogNotificationsService"
+ android:exported="false"
+ />
</application>
</manifest>