Fix settings when build in no video mode
This commit is contained in:
parent
579c3a89a4
commit
97a39a495a
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ public class SettingsFragment extends PreferencesListFragment implements EcCalib
|
|||
hidePreference(R.string.pref_push_notification_key);
|
||||
}
|
||||
|
||||
if (!Version.isVideoCapable()) {
|
||||
if (!Version.isVideoCapable() || !LinphoneManager.getLcIfManagerNotDestroyedOrNull().isVideoSupported()) {
|
||||
uncheckAndHidePreference(R.string.pref_video_enable_key);
|
||||
} else {
|
||||
if (!AndroidCameraConfiguration.hasFrontCamera()) {
|
||||
|
|
Loading…
Reference in a new issue