Implmented GcmBroadcastReceiver.