mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
disable video on non capable hardware
This commit is contained in:
parent
03c280a216
commit
f91c9b4805
1 changed files with 3 additions and 0 deletions
|
|
@ -65,5 +65,8 @@ public class Version {
|
|||
if (hasNeon == null) hasNeon = nativeHasNeon();
|
||||
return hasNeon;
|
||||
}
|
||||
public static boolean isVideoCapable() {
|
||||
return !Version.sdkStrictlyBelow(5) && Version.hasNeon() && Hacks.hasCamera();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue