title: Where is FCM Intent with data delivered, when app is in background?
body: <p>I've implemented Firebase in my app and I'm sending push with extra data. When my app is in foreground I'm handling data properly and showing my own notification, but I have a problem with fetching data, when Firebase shows Notification "automatically" when app was "homed" (not killed). According <a href="https://firebase.google.com/docs/cloud-messaging/android/receive" rel="noreferrer">DOCS</a> <code>Activity</code> should get new <code>Intent</code> with extras fulfilled with my values, instead app just get back to front, old state is restored.</p>
  
  <p>Scenario:</p>
  
  <ol>
  <li>opening app, pressing Home</li>
  <li>sending push through Firebase console, Firebase is creating <code>Notification</code> WITHOUT calling <code>onMessageReceived</code> (according to table in docs, it should?)</li>
  <li>when user pick notification app will be brought to front in same state as was "homed", and <code>Intent</code> is fulfilled with "original" extras used for open <code>Activity</code> on top</li>
  </ol>
  
  <p>I have logs in <code>onCreate</code>, <code>onNewIntent</code>, <code>onResume</code> (<code>Activity</code>) and in <code>onMessageReceived</code> (<code>Service</code>), only <code>onResume</code> is called, in which I'm printing extras like below:</p>
  
  <pre><code>if (getIntent().getExtras() != null) {
          for (String key : getIntent().getExtras().keySet()) {
              Object value = getIntent().getExtras().get(key);
              Log.d("Activity onResume", "Key: " + key + " Value: " + value);
          }
      }
  </code></pre>