title: FCM Notification icon is not being used
body: <p>I am using <code>FCM</code> and I could successfully send push notification to my app. I want to use custom notification icon but it always show white icon. I am running <code>Lollipop</code>.</p>
  
  <p>From the <a href="https://firebase.google.com/docs/cloud-messaging/http-server-ref#notification-payload-support" rel="noreferrer">documentation</a> it says </p>
  
  <blockquote>
    <p>icon  Optional, string    Indicates notification icon. Sets value to
    myicon for drawable resource myicon.</p>
  </blockquote>
  
  <p>( I'm not sure what exactly it means ). But here are what I did.</p>
  
  <ol>
  <li><p>I generated icons from <a href="https://romannurik.github.io/AndroidAssetStudio/icons-notification.html" rel="noreferrer">here</a> . It does have icons with only white text and transparent background. Sample screenshot pic of the icon is <a href="https://i.stack.imgur.com/RxmNu.png" rel="noreferrer"><img src="https://i.stack.imgur.com/RxmNu.png" alt="enter image description here"></a></p></li>
  <li><p>I added to res folder <a href="https://i.stack.imgur.com/9Ptxn.png" rel="noreferrer"><img src="https://i.stack.imgur.com/9Ptxn.png" alt="enter image description here"></a> </p></li>
  <li><p>I edited my AndroidManifest and added this <code>android:icon="@drawable/ic_stat_set" in &lt;Application</code></p></li>
  <li><p>I tried running the project on the device, the new app icon <em>ic_stat_set</em> are being used as app launcher.</p></li>
  <li><p>From the console I send notification and I did receive it but its not the icon I just set. </p></li>
  <li><p>I also tried sending through api. I did received the notification but not the icon that i set.</p>
  
  <p><code>curl -X POST --header "Authorization: key=SERVERKEY" --Header "Content-Type: application/json" https://fcm.googleapis.com/fcm/send -d "{\"to\":\"REGISTERATION-TOKEN-ID\",\"notification\":{\"body\":\"Yellow\" , \"icon\" : \"ic_stat_set\"} \"priority":\"10"}"</code></p></li>
  </ol>
  
  <p>UPDATE : my drawable icons files are <a href="https://drive.google.com/open?id=0B5Fi1l7EbQ_BOERUMzNuQy1OWXM" rel="noreferrer">https://drive.google.com/open?id=0B5Fi1l7EbQ_BOERUMzNuQy1OWXM</a></p>
  
  <p>Do I have to put something in those custom data files in the console ? My icon ?  What I am missing ?</p>
  
  <p>Thanks</p>