mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-19 12:38:07 +00:00
Fix settings when build in no video mode
This commit is contained in:
parent
d9bf5cc212
commit
f409ba1ab1
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…
Add table
Reference in a new issue