title: Android GCM get instance id bug
body: <p>When I try to get InstanceID from the GCM per <a href="https://developers.google.com/instance-id/guides/android-implementation" rel="nofollow">the doc</a>, Android Studio complains about missing context parameter. The documentation doesn't mention that. How do I resolve this? Do I simply pass context as such:</p>
  
  <pre><code>String iid = InstanceID.getInstance(this).getID();
  </code></pre>