Disable voicemail related receiver on tablet.
If the device is not a phone, we should not listen for the NEW_VOICMAIL
and the BOOT_COMPLETED broadcasts since we should not show or update the
notifications on a non-phone device.
This is because the call log is not shown on the device, so there is no
way to access the voicemails anyway.
Bug: 6044695
Change-Id: I606ea0646cea350f02c18d48d5d1eb43033b1b89
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 43fd693..e604de1 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -614,7 +614,8 @@
android:resource="@xml/social_widget_info" />
</receiver>
- <receiver android:name=".calllog.CallLogReceiver">
+ <receiver android:name=".calllog.CallLogReceiver"
+ android:enabled="@*android:bool/config_voice_capable">
<intent-filter>
<action android:name="android.intent.action.NEW_VOICEMAIL" />
<data