mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 12:38:09 +00:00
payload init, data paths, armv7 detection, typos
Fix: payload initialization in PreferenceActivity Fix: paths to application data by using Android facilities Detect ARMv7 by looking at Build.CPU_ABI through reflection Fix: crash on registration change after LinphoneActivity was killed by Android
This commit is contained in:
parent
ce0d804023
commit
d18561cea4
1 changed files with 9 additions and 0 deletions
|
|
@ -42,4 +42,13 @@ public class Version {
|
|||
return buildVersion;
|
||||
}
|
||||
|
||||
public static boolean isArmv7() {
|
||||
try {
|
||||
return sdkAboveOrEqual(4)
|
||||
&& Build.class.getField("CPU_ABI").get(null).toString().startsWith("armeabi-v7");
|
||||
} catch (Throwable e) {}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue