From eb044a857b4f41c2c3f51722a18a25c53006a0b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hans=20M=C3=A5nsson?= Date: Wed, 25 Jan 2017 14:05:40 +0100 Subject: 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 --- src/com/android/dialer/calllog/MissedCallNotifier.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/com/android/dialer/calllog/MissedCallNotifier.java b/src/com/android/dialer/calllog/MissedCallNotifier.java index f6830168b..732f65665 100644 --- a/src/com/android/dialer/calllog/MissedCallNotifier.java +++ b/src/com/android/dialer/calllog/MissedCallNotifier.java @@ -148,6 +148,7 @@ public class MissedCallNotifier { .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 -- cgit v1.2.3