mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-03 11:49:31 +00:00
Merge branch 'master' of git.linphone.org:linphone-android
Conflicts: src/org/linphone/core/Version.java Add neon check on first launch
This commit is contained in:
commit
e5e1f29528
1 changed files with 8 additions and 2 deletions
10
Version.java
10
Version.java
|
|
@ -28,6 +28,9 @@ public class Version {
|
|||
|
||||
public static final String TAG="Linphone";
|
||||
|
||||
private static native boolean nativeHasNeon();
|
||||
private static Boolean hasNeon;
|
||||
|
||||
private static final int buildVersion =
|
||||
Integer.parseInt(Build.VERSION.SDK);
|
||||
// 8; // 2.2
|
||||
|
|
@ -52,6 +55,9 @@ public class Version {
|
|||
} catch (Throwable e) {}
|
||||
return false;
|
||||
}
|
||||
public static boolean hasNeon(){
|
||||
if (hasNeon == null) hasNeon = nativeHasNeon();
|
||||
return hasNeon;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue