From c16ba67407f3ce28d0a984d66a20ec2600911993 Mon Sep 17 00:00:00 2001 From: Mike Lockwood Date: Wed, 20 Jan 2010 12:30:05 -0500 Subject: [PATCH] Use default values rather than hard coding green for LED notification color. BUG: 2329568 Signed-off-by: Mike Lockwood --- src/com/android/deskclock/AlarmReceiver.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/com/android/deskclock/AlarmReceiver.java b/src/com/android/deskclock/AlarmReceiver.java index 92f929a..5bb0e5a 100644 --- a/src/com/android/deskclock/AlarmReceiver.java +++ b/src/com/android/deskclock/AlarmReceiver.java @@ -145,9 +145,7 @@ public class AlarmReceiver extends BroadcastReceiver { pendingNotify); n.flags |= Notification.FLAG_SHOW_LIGHTS | Notification.FLAG_ONGOING_EVENT; - n.ledARGB = 0xFF00FF00; - n.ledOnMS = 500; - n.ledOffMS = 500; + n.defaults |= Notification.DEFAULT_LIGHTS; // Send the notification using the alarm id to easily identify the // correct notification. -- 2.11.0