Remove some remaining GCM parts
[fonbot.git] / src / ro / ieval / fonbot / FonBotApplication.java
index 64eb60269ad39a77c3bffcf3238fa6ebf3a861fe..2e4125e93de00d1800405a6183a67520629e29da 100644 (file)
@@ -5,8 +5,6 @@ import android.content.Intent;
 import android.telephony.PhoneStateListener;
 import android.telephony.TelephonyManager;
 
-import com.google.android.gcm.GCMRegistrar;
-
 /*
  * Copyright © 2013 Marius Gavrilescu
  * 
@@ -40,10 +38,6 @@ public final class FonBotApplication extends Application {
        @Override
        public void onCreate() {
                super.onCreate();
-               //GCMRegistrar.checkDevice(this);
-               final String regID=GCMRegistrar.getRegistrationId(this);
-               if("".equals(regID))
-                       GCMRegistrar.register(this, GCM_SENDER_ID);
 
                final TelephonyManager tman=(TelephonyManager) getSystemService(TELEPHONY_SERVICE);
                tman.listen(new FonBotPhoneStateListener(this), PhoneStateListener.LISTEN_CALL_STATE);
This page took 0.010274 seconds and 4 git commands to generate.