factorizing constants
This commit is contained in:
parent
da811bd491
commit
fd2e40dcf1
11 changed files with 108 additions and 71 deletions
|
|
@ -112,8 +112,7 @@ namespace ZicMoove.Droid
|
|||
void SubscribeGCM ()
|
||||
{
|
||||
Context context = this.ApplicationContext;
|
||||
string senders = MainSettings.GoogleSenderId;
|
||||
// Resources.GetString(GoogleSenderId);
|
||||
string senders = Constants.GoogleSenderId;
|
||||
Intent intent = new Intent ("com.google.android.c2dm.intent.REGISTER");
|
||||
intent.SetPackage ("com.google.android.gsf");
|
||||
intent.PutExtra ("app", PendingIntent.GetBroadcast (context, 0, new Intent (), 0));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue