Remove obsolote push notif infos from contacts params

This commit is contained in:
Sylvain Berfini 2013-10-11 17:16:01 +02:00
parent 5a03fb1cd6
commit 4ac142370a

View file

@ -306,7 +306,7 @@ public class SetupActivity extends FragmentActivity implements OnClickListener {
String regId = mPrefs.getPushNotificationRegistrationID(); String regId = mPrefs.getPushNotificationRegistrationID();
String appId = getString(R.string.push_sender_id); String appId = getString(R.string.push_sender_id);
if (regId != null && mPrefs.isPushNotificationEnabled()) { if (regId != null && mPrefs.isPushNotificationEnabled()) {
String contactInfos = "app-id=" + appId + ";pn-type=google;pn-tok=" + regId + ";pn-msg-str=IM_MSG;pn-call-str=IC_MSG;pn-call-snd=ring.caf;pn-msg-snd=msg.caf"; String contactInfos = "app-id=" + appId + ";pn-type=google;pn-tok=" + regId;
mPrefs.setNewAccountContactParameters(contactInfos); mPrefs.setNewAccountContactParameters(contactInfos);
} }
} }