mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-25 15:18:11 +00:00
change sent video orientation when phone is rotated
This commit is contained in:
parent
6dad6a3154
commit
e161f668e5
2 changed files with 4 additions and 4 deletions
|
|
@ -382,7 +382,7 @@ class LinphoneCoreImpl implements LinphoneCore {
|
|||
|
||||
public int updateCall(LinphoneCall call, LinphoneCallParams params) {
|
||||
long ptrCall = ((LinphoneCallImpl) call).nativePtr;
|
||||
long ptrParams = ((LinphoneCallParamsImpl)params).nativePtr;
|
||||
long ptrParams = params!=null ? ((LinphoneCallParamsImpl)params).nativePtr : 0;
|
||||
|
||||
return updateCall(nativePtr, ptrCall, ptrParams);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ import android.os.Build;
|
|||
public class Version {
|
||||
|
||||
private static final int buildVersion =
|
||||
// Integer.parseInt(Build.VERSION.SDK);
|
||||
7; // 2.1
|
||||
Integer.parseInt(Build.VERSION.SDK);
|
||||
// 7; // 2.1
|
||||
|
||||
public static final boolean sdkAbove(int value) {
|
||||
return buildVersion >= value;
|
||||
|
|
@ -38,4 +38,4 @@ public class Version {
|
|||
return buildVersion < value;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue