X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=src%2Fro%2Fieval%2Ffonbot%2FFonBotApplication.java;h=2e4125e93de00d1800405a6183a67520629e29da;hb=008a56e6bcdef70992129b09735aaf8205c76292;hp=64eb60269ad39a77c3bffcf3238fa6ebf3a861fe;hpb=979c5169a7b576c62417d14883f5e83f3b9a74cd;p=fonbot.git diff --git a/src/ro/ieval/fonbot/FonBotApplication.java b/src/ro/ieval/fonbot/FonBotApplication.java index 64eb602..2e4125e 100644 --- a/src/ro/ieval/fonbot/FonBotApplication.java +++ b/src/ro/ieval/fonbot/FonBotApplication.java @@ -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);