mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Fix armv6 loadling liblinphone issue
This commit is contained in:
parent
9806cc6b5d
commit
99ace7d2fd
1 changed files with 3 additions and 3 deletions
|
|
@ -71,7 +71,7 @@ public class LinphoneCoreFactoryImpl extends LinphoneCoreFactory {
|
|||
//Main library
|
||||
if (!hasNeonInCpuFeatures()) {
|
||||
try {
|
||||
if (isArmv5()) {
|
||||
if (!isArmv7()) {
|
||||
System.loadLibrary("linphonearmv5");
|
||||
} else {
|
||||
System.loadLibrary("linphonenoneon");
|
||||
|
|
@ -175,8 +175,8 @@ public class LinphoneCoreFactoryImpl extends LinphoneCoreFactory {
|
|||
return result;
|
||||
}
|
||||
|
||||
public static boolean isArmv5()
|
||||
public static boolean isArmv7()
|
||||
{
|
||||
return System.getProperty("os.arch").contains("armv5");
|
||||
return System.getProperty("os.arch").contains("armv7");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue