title: led notification in android API 23
body: <p>I want to turn on or blink the led on android devices. So I am doing it through the code below</p>
  
  <pre><code>NotificationManager nm = ( NotificationManager ) getSystemService( NOTIFICATION_SERVICE );
      Notification notif = new Notification();
      notif.ledARGB = 0xFF0000; // #0000FF
      notif.flags = Notification.FLAG_SHOW_LIGHTS;
      notif.ledOnMS = 100;
      notif.ledOffMS = 100;
      nm.notify(5, notif);
      Toast.makeText(this, "RED LED SELECTED", Toast.LENGTH_LONG).show();
  </code></pre>
  
  <p>And this works. Unless I tested it on Marshmallow 6.0.1 API: 23. It crashes. Anyone please tell me the solution?</p>