mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 04:28:10 +00:00
Fixes for smartphones
This commit is contained in:
parent
325a847cc5
commit
fb7cab2558
1 changed files with 2 additions and 1 deletions
|
|
@ -68,6 +68,7 @@ public class LinphoneCoreFactoryImpl extends LinphoneCoreFactory {
|
|||
//Main library
|
||||
if (!hasNeonInCpuFeatures()) {
|
||||
System.loadLibrary("linphonenoneon");
|
||||
Log.w("linphone", "No-neon liblinphone loaded");
|
||||
} else {
|
||||
System.loadLibrary("linphone");
|
||||
}
|
||||
|
|
@ -150,7 +151,7 @@ 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.contains("Features")) {
|
||||
result = line.contains("neon");
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue