Make missed call notification a noisy notification
By making the notification noisy a missed call will trigger
the pulsing of the notification LED.
Currently there is nothing that indicates that a user missed
a call when the display is off.
Bug: 34696338
Test: Call the device, miss the call, confirm LED is pulsing.
Change-Id: Ic0d3831bc847d9189a7318ded9e0b1a2869c25e4
diff --git a/src/com/android/dialer/calllog/MissedCallNotifier.java b/src/com/android/dialer/calllog/MissedCallNotifier.java
index f683016..732f656 100644
--- a/src/com/android/dialer/calllog/MissedCallNotifier.java
+++ b/src/com/android/dialer/calllog/MissedCallNotifier.java
@@ -148,6 +148,7 @@
.setContentIntent(createCallLogPendingIntent())
.setAutoCancel(true)
.setWhen(timeMs)
+ .setDefaults(Notification.DEFAULT_VIBRATE)
.setDeleteIntent(createClearMissedCallsPendingIntent())
// Include a public version of the notification to be shown when the missed call
// notification is shown on the user's lock screen and they have chosen to hide