title: how to display proper small icon for notification is not getting displayed in Lollipop and Android M
body: <p>I am creating an application, I am able to display notification properly, but small icon is not getting displayed as I have mentioned it in the drawable folder, The icon is getting masked with white color. Can any one help me, how can I get the icon to display properly.</p>
  
  <p>Below is my notification code:</p>
  
  <pre><code>nb = new NotificationCompat.Builder(context)
          .setContentTitle(contentTitle)
          .setContentText(contentText)
          .setSmallIcon(icon)
          .setLargeIcon(BitmapFactory.decodeResource(context.getResources(), R.drawable.micon_notification))
          .setWhen(when)
          .setContentIntent(contentIntent)
          .setAutoCancel(true)
          .setOnlyAlertOnce(true)
          .setTicker(tickerText)
          .setColor(Color.RED);
  </code></pre>
  
  <p>The icon mentioned in drawable is as shown below:</p>
  
  <pre><code>[1]: http://i.stack.imgur.com/ggYCY.png
  </code></pre>
  
  <p>That complete red color present inside the image is getting vanished and icon is getting displayed with complete white color. All suggestions are welcome.</p>