I have a simple doubt, I am programming notifications, and I realize that when I involve the line of code:
.setLights(Color.GREEN, 3000, 3000)
It appears errors in cell phones that do not have the notification LED (such as cell phones with android 4.1.1), so I was wondering if there is any method to know if the cell where the application is running detects whether or not it has this famous Notification LED to indicate: If you have the LED then do the line of code:
.setLights(Color.GREEN, 3000, 3000)
If you do not have the LED then do not do that line of code