summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Amith Yamasani <yamasani@google.com> 2011-09-20 14:48:52 -0700
committer Amith Yamasani <yamasani@google.com> 2011-09-20 14:48:52 -0700
commitebfc0e5d702abd4fa0f4d4fac0db49faebc957f1 (patch)
treecc5bfcee5168391da4ecd1eeb5f2f4dfcc19f3d2
parentee0835b95de225fdc34d45b777b4595d01727a40 (diff)
If "Pulse notification light" is off, don't flash the LED even once.
If it is on, flash repeatedly. Bug: 5242350 Change-Id: I7da195a7c49c68c0a1fca12eecfc4a4e06dd0b61
-rwxr-xr-xservices/java/com/android/server/NotificationManagerService.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/services/java/com/android/server/NotificationManagerService.java b/services/java/com/android/server/NotificationManagerService.java
index 6ee20bbb32bd..7d1d9765eb9d 100755
--- a/services/java/com/android/server/NotificationManagerService.java
+++ b/services/java/com/android/server/NotificationManagerService.java
@@ -1085,9 +1085,6 @@ public class NotificationManagerService extends INotificationManager.Stub
// pulse repeatedly
mNotificationLight.setFlashing(ledARGB, LightsService.LIGHT_FLASH_TIMED,
ledOnMS, ledOffMS);
- } else {
- // pulse only once
- mNotificationLight.pulse(ledARGB, ledOnMS);
}
}
}