title: How to send a high-priority GCM?
body: <p>I'm using a Nexus 5 with Android M Preview.</p>
  
  <p>My problem that I'm trying to solve is:</p>
  
  <blockquote>
    <p>Network access is disabled, unless your app receives a high priority
    Google Cloud Messaging tickle.</p>
  </blockquote>
  
  <p>What I'm doing is:</p>
  
  <p>I put the phone into Doze mode and then I send a push notification with the priority with value 10 and I'm expecting to have internet access for a brief moments, but this is not working.</p>
  
  <p>Should I use other type of notifications? There are any documentation already available?</p>
  
  <p>Thanks.</p>
  
  <p>Android M changes:
  <a href="https://developer.android.com/preview/behavior-changes.html" rel="noreferrer">https://developer.android.com/preview/behavior-changes.html</a></p>
  
  <p>What I found about GCM priority messages:
  <a href="https://developers.google.com/cloud-messaging/server-ref" rel="noreferrer">https://developers.google.com/cloud-messaging/server-ref</a></p>