Replace GCM and polling with long polling
[fonbot.git] / AndroidManifest.xml
index 00a913a5513c682e964f14ea8850ce9fb1b494c1..cc92df34ed1f6cfa7da475552eedf6cf4f787438 100644 (file)
@@ -8,14 +8,6 @@
         android:minSdkVersion="8"
         android:targetSdkVersion="18" />
 
-    <permission
-        android:name="ro.ieval.fonbot.permission.C2D_MESSAGE"
-        android:label="Receive GCM messages"
-        android:protectionLevel="signature" >
-    </permission>
-
-    <uses-permission android:name="ro.ieval.fonbot.permission.C2D_MESSAGE" />
-    <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
     <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
     <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
             android:theme="@android:style/Theme.Dialog" >
         </activity>
 
-        <service android:name=".GCMIntentService" >
-        </service>
         <service android:name=".FonBotMainService" >
         </service>
 
-        <receiver
-            android:name="com.google.android.gcm.GCMBroadcastReceiver"
-            android:permission="com.google.android.c2dm.permission.SEND" >
-            <intent-filter>
-                <action android:name="com.google.android.c2dm.intent.RECEIVE" />
-                <action android:name="com.google.android.c2dm.intent.REGISTRATION" />
-
-                <category android:name="ro.ieval.fonbot" />
-            </intent-filter>
-        </receiver>
         <receiver
             android:name=".SmsReceiver"
             android:permission="android.permission.BROADCAST_SMS" >
                 <action android:name="android.intent.action.BATTERY_LOW" />
                 <action android:name="android.intent.action.BATTERY_OKAY" />
                 <action android:name="android.intent.action.BOOT_COMPLETED" />
+                               <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
             </intent-filter>
         </receiver>
     </application>
This page took 0.009549 seconds and 4 git commands to generate.