Use real style GCM sender id, remove C2DM receiver from the manifest

pull/14/head
Sam Bosley 13 years ago
parent 5a2b65d515
commit bb877b57e8

@ -411,14 +411,7 @@
android:windowSoftInputMode="stateHidden"
android:theme="@style/Theme.Dialog"/>
<activity android:name="com.todoroo.astrid.actfm.CommentsActivity"
android:windowSoftInputMode="stateHidden"/>
<receiver android:name="com.timsu.astrid.C2DMReceiver" permission="com.google.android.c2dm.permission.SEND">
<!-- Receive the actual message -->
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<category android:name="com.timsu.astrid" />
</intent-filter>
</receiver>
android:windowSoftInputMode="stateHidden"/>
<receiver android:name="com.google.android.gcm.GCMBroadcastReceiver" android:permission="com.google.android.c2dm.permission.SEND" >
<intent-filter>

@ -18,7 +18,7 @@ import com.todoroo.astrid.actfm.sync.ActFmSyncService;
@SuppressWarnings("nls")
public class GCMIntentService extends GCMBaseIntentService {
public static final String SENDER_ID = "gcm@astrid.com"; //$NON-NLS-1$
public static final String SENDER_ID = "1003855277730"; //$NON-NLS-1$
public static final String PREF_REGISTRATION = "gcm_id";
public static final String PREF_NEEDS_REGISTRATION = "gcm_needs_reg";

Loading…
Cancel
Save