Fix initTunnelSettings in SettingsFragment
This commit is contained in:
parent
54d402b3d5
commit
142fa020c6
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ public class SettingsFragment extends PreferencesListFragment {
|
|||
}
|
||||
|
||||
private void initTunnelSettings() {
|
||||
if (!LinphoneManager.getLc().isTunnelAvailable()) {
|
||||
if (!LinphoneManager.isInstanciated() || !LinphoneManager.getLc().isTunnelAvailable()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue