diff options
author | Hans MÃ¥nsson <hans.mansson@sonymobile.com> | 2017-01-25 14:05:40 +0100 |
---|---|---|
committer | Ed Savage-Jones <edward.savage-jones@sonymobile.com> | 2017-01-25 14:41:33 +0000 |
commit | eb044a857b4f41c2c3f51722a18a25c53006a0b2 (patch) | |
tree | 3e1f501255d444acb261277e0d131b3addcbddce | |
parent | 949a78c26564ec873447368fb66a582fbe081a85 (diff) |
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
-rw-r--r-- | src/com/android/dialer/calllog/MissedCallNotifier.java | 1 |
1 files changed, 1 insertions, 0 deletions
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 |