From ebfc0e5d702abd4fa0f4d4fac0db49faebc957f1 Mon Sep 17 00:00:00 2001 From: Amith Yamasani Date: Tue, 20 Sep 2011 14:48:52 -0700 Subject: If "Pulse notification light" is off, don't flash the LED even once. If it is on, flash repeatedly. Bug: 5242350 Change-Id: I7da195a7c49c68c0a1fca12eecfc4a4e06dd0b61 --- services/java/com/android/server/NotificationManagerService.java | 3 --- 1 file changed, 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); } } } -- cgit v1.2.3-59-g8ed1b