title: GcmListenerService.onMessageReceived not called
body: <p>I am trying to get a msg to my app from a server.
  I have this server url wich sends msg to all users:
  <a href="https://taub-prayer-ramym.c9.io/send?message=123" rel="nofollow">https://taub-prayer-ramym.c9.io/send?message=123</a></p>
  
  <p>my app's token is registered in the server... but I have a problem that the onMessageReceived() method from my GcmListenerService implementation isn't called.</p>
  
  <p>my Manifest:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.example.atheel.prayer" &gt;
  
      &lt;uses-sdk
          android:minSdkVersion="16"
          android:targetSdkVersion="21" /&gt;
  
      &lt;uses-permission android:name="android.permission.INTERNET"/&gt;
      &lt;uses-permission android:name="android.permission.WAKE_LOCK"/&gt;
      &lt;uses-permission android:name="android.permission.GET_ACCOUNTS" /&gt;
      &lt;uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/&gt;
      &lt;uses-permission android:name="com.example.atheel.prayer.permission.C2D_MESSAGE"/&gt;
      &lt;uses-permission android:name="com.google.android.c2dm.permission.SEND"/&gt;
      &lt;uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/&gt;
  
      &lt;application
          android:allowBackup="true"
          android:icon="@mipmap/ic_launcher"
          android:label="@string/app_name"
          android:theme="@style/AppTheme" &gt;
  
          &lt;receiver
              android:name="com.google.android.gms.gcm.GcmReceiver"
              android:exported="true"
              android:permission="com.google.android.c2dm.permission.SEND" &gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="com.google.android.c2dm.intent.RECEIVE" /&gt;
                  &lt;action android:name="com.google.android.c2dm.intent.REGISTRATION" /&gt;
                  &lt;category android:name="com.example.atheel.prayer" /&gt;
              &lt;/intent-filter&gt;
          &lt;/receiver&gt;
          &lt;service
              android:name="com.example.atheel.prayer.MyGcmListenerService"
              android:exported="false" &gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="com.google.android.c2dm.intent.RECEIVE" /&gt;
              &lt;/intent-filter&gt;
          &lt;/service&gt;
          &lt;service
              android:name="com.example.atheel.prayer.MyInstanceIDListenerService"
              android:exported="false"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="com.google.android.gms.iid.InstanceID"/&gt;
              &lt;/intent-filter&gt;
          &lt;/service&gt;
          &lt;service android:exported="false" android:name="com.example.atheel.prayer.RegistrationIntentService"/&gt;
  
          &lt;activity
              android:name=".MainActivity"
              android:label="@string/app_name" &gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
          &lt;activity
              android:name=".EmptyStatus"
              android:label="@string/title_activity_empty_status" &gt;
          &lt;/activity&gt;
          &lt;activity
              android:name=".UnEmpty"
              android:label="@string/title_activity_un_empty" &gt;
          &lt;/activity&gt;
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>my myGCMListener :</p>
  
  <pre><code>public class MyGcmListenerService extends GcmListenerService {
      private static final String TAG = "MyGcmListenerService";
      File notificationsFile;
      private String sessionForAppClosed;
  
      // [START receive_message]
      @Override
      public void onMessageReceived(String from, Bundle data) {
          Log.i(TAG,"Message Received!!!!!!!!!");
          System.out.print("***************Message Received!!!!!!!!!");
      }
  }
  </code></pre>
  
  <p>anyone can think why its not working?</p>