Fix video preferences issue

This commit is contained in:
Sylvain Berfini 2012-04-19 16:35:29 +02:00
parent b24e3aba5f
commit d0501c8328

View file

@ -150,8 +150,10 @@ public class LinphoneCoreFactoryImpl extends LinphoneCoreFactory {
byte[] re = new byte[1024];
while(in.read(re) != -1){
String line = new String(re);
if (line.startsWith("Features"))
if (line.startsWith("Features")) {
result = line.contains("neon");
break;
}
}
in.close();
} catch(IOException ex){