disable video on non capable hardware

This commit is contained in:
Jehan Monnier 2011-07-01 18:08:04 +02:00
parent 03c280a216
commit f91c9b4805

View file

@ -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();
}
}