It looks like this is a demo using GCM to only to resurrect a polling background service on an Android phone, since GCM-only can be too slow.