mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 19:38:08 +00:00
Add check on default proxy config.
This commit is contained in:
parent
04aae085aa
commit
969f396e62
1 changed files with 1 additions and 1 deletions
|
|
@ -505,7 +505,7 @@ public final class LinphoneService extends Service implements LinphoneServiceLis
|
|||
// Log.i("Service not ready, discarding registration state change to ",state.toString());
|
||||
// return;
|
||||
// }
|
||||
if (state == RegistrationState.RegistrationOk && LinphoneManager.getLc().getDefaultProxyConfig().isRegistered()) {
|
||||
if (state == RegistrationState.RegistrationOk && LinphoneManager.getLc().getDefaultProxyConfig() != null && LinphoneManager.getLc().getDefaultProxyConfig().isRegistered()) {
|
||||
sendNotification(IC_LEVEL_ORANGE, R.string.notification_registered);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue