How to disable push notifiaction when i logout from application in android
<p>I am using following code on logout button click please have a look :</p>

<p>GCMRegistrar.unregister(mContext);</p>

<pre><code>    Intent unregIntent = new Intent(
            "com.google.android.c2dm.intent.UNREGISTER");
    unregIntent.putExtra("app",
            PendingIntent.getBroadcast(mContext, 0, new Intent(), 0));
    unregIntent.putExtra("sender", Data.GCM_REGISTERED_ID);
    mContext.startService(unregIntent);
</code></pre>
