Disable push notifications on non default domain accounts
This commit is contained in:
parent
b9c6abdeb5
commit
4fd25bb1b0
1 changed files with 1 additions and 0 deletions
|
@ -145,6 +145,7 @@ public abstract class AssistantActivity extends LinphoneGenericActivity
|
||||||
} else {
|
} else {
|
||||||
// If this isn't a sip.linphone.org account, disable push notifications and enable
|
// If this isn't a sip.linphone.org account, disable push notifications and enable
|
||||||
// service notification, otherwise incoming calls won't work (most probably)
|
// service notification, otherwise incoming calls won't work (most probably)
|
||||||
|
proxyConfig.setPushNotificationAllowed(false);
|
||||||
Log.w(
|
Log.w(
|
||||||
"[Assistant] Unknown domain used, push probably won't work, enable service mode");
|
"[Assistant] Unknown domain used, push probably won't work, enable service mode");
|
||||||
LinphonePreferences.instance().setServiceNotificationVisibility(true);
|
LinphonePreferences.instance().setServiceNotificationVisibility(true);
|
||||||
|
|
Loading…
Reference in a new issue