Use default values rather than hard coding green for LED notification color.
Change-Id: If148290091a42edd7e0301d6cabd22b843071283
BUG: 2329568
Signed-off-by: Mike Lockwood <lockwood@android.com>
diff --git a/src/com/android/alarmclock/AlarmReceiver.java b/src/com/android/alarmclock/AlarmReceiver.java
index f1d5d43..e9c7195 100644
--- a/src/com/android/alarmclock/AlarmReceiver.java
+++ b/src/com/android/alarmclock/AlarmReceiver.java
@@ -145,9 +145,7 @@
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.