Fixed push notif issue
This commit is contained in:
parent
880bc7a409
commit
dfb499d073
3 changed files with 4 additions and 0 deletions
|
@ -163,6 +163,8 @@ public abstract class AssistantActivity extends LinphoneGenericActivity
|
||||||
LinphoneContext.instance().getNotificationManager().startForeground();
|
LinphoneContext.instance().getNotificationManager().startForeground();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
LinphonePreferences.instance()
|
||||||
|
.setPushNotificationEnabled(!isGenericAccount || useLinphoneDefaultValues);
|
||||||
|
|
||||||
if (proxyConfig == null) {
|
if (proxyConfig == null) {
|
||||||
Log.e("[Assistant] Account creator couldn't create proxy config");
|
Log.e("[Assistant] Account creator couldn't create proxy config");
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
<entry name="nat_policy_ref" overwrite="true"></entry>
|
<entry name="nat_policy_ref" overwrite="true"></entry>
|
||||||
<entry name="realm" overwrite="true"></entry>
|
<entry name="realm" overwrite="true"></entry>
|
||||||
<entry name="conference_factory_uri" overwrite="true"></entry>
|
<entry name="conference_factory_uri" overwrite="true"></entry>
|
||||||
|
<entry name="push_notification_allowed" overwrite="true">0</entry>
|
||||||
</section>
|
</section>
|
||||||
<section name="nat_policy_default_values">
|
<section name="nat_policy_default_values">
|
||||||
<entry name="stun_server" overwrite="true"></entry>
|
<entry name="stun_server" overwrite="true"></entry>
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
<entry name="nat_policy_ref" overwrite="true">nat_policy_default_values</entry>
|
<entry name="nat_policy_ref" overwrite="true">nat_policy_default_values</entry>
|
||||||
<entry name="realm" overwrite="true">sip.linphone.org</entry>
|
<entry name="realm" overwrite="true">sip.linphone.org</entry>
|
||||||
<entry name="conference_factory_uri" overwrite="true">sip:conference-factory@sip.linphone.org</entry>
|
<entry name="conference_factory_uri" overwrite="true">sip:conference-factory@sip.linphone.org</entry>
|
||||||
|
<entry name="push_notification_allowed" overwrite="true">1</entry>
|
||||||
</section>
|
</section>
|
||||||
<section name="nat_policy_default_values">
|
<section name="nat_policy_default_values">
|
||||||
<entry name="stun_server" overwrite="true">stun.linphone.org</entry>
|
<entry name="stun_server" overwrite="true">stun.linphone.org</entry>
|
||||||
|
|
Loading…
Reference in a new issue