title: Getting location updates with pending intent returns null locations
body: <p>Im trying to retrieve locations by passing a PendingIntent to the locationClient, but the intent I receive in the broadcast receiver has no location in it.</p>
  
  <p>This is my code:</p>
  
  <p><strong>Starting LocationRequests</strong></p>
  
  <pre><code>@Override
  public void onConnected(Bundle bundle) {
      Toast.makeText(this, "Connected", Toast.LENGTH_SHORT).show();
  
      notifyIntent = new Intent(RunActivity.this, RunActivity.AlarmReciever.class);
      notifySender = PendingIntent
              .getBroadcast(RunActivity.this, 899899, notifyIntent, PendingIntent.FLAG_UPDATE_CURRENT);
      notifyIntent.setAction("com.blabla.blabla.NOTIFY_GPS");
  
      locationClient.requestLocationUpdates(locationRequest, notifySender);
  }
  </code></pre>
  
  <p><strong>Reciever</strong></p>
  
  <pre><code>    &lt;receiver android:name=".RunActivity$AlarmReciever"
                android:exported="true"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="com.blabla.blabla.NOTIFY_GPS" /&gt;
              &lt;category android:name="android.intent.category.DEFAULT" /&gt;
          &lt;/intent-filter&gt;
      &lt;/receiver&gt;
  </code></pre>
  
  <p><strong>Broadcast Receiver</strong></p>
  
  <pre><code>public static class AlarmReciever extends BroadcastReceiver {
  
      @Override
      public void onReceive(Context context, Intent intent) {
          Log.d("RECIEVED LOCATION UPDATE", "INTENT");
          Bundle b = intent.getExtras();
          Location loc = (Location)b.get(android.location.LocationManager.KEY_LOCATION_CHANGED);
          Log.d("LOCATION", null == loc ? "emptyloc" : loc.toString());
      }
  }
  </code></pre>
  
  <p>This will always print "LOCATION﹕ emptyloc".</p>
  
  <p>Any ideas?</p>
  
  <p>P.S.: Forgot to mention that locations are working correctly, if I call <code>locationClient.getLastLocation()</code> i will retrieve a location as expected. It is only with the PendingIntent that location is null;</p>
  
  <p>Best Regards.</p>