If "Pulse notification light" is off, don't flash the LED even once.
If it is on, flash repeatedly. Bug: 5242350 Change-Id: I7da195a7c49c68c0a1fca12eecfc4a4e06dd0b61
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user