change sent video orientation when phone is rotated

This commit is contained in:
Simon Morlat 2011-01-18 16:19:27 +01:00
parent 6dad6a3154
commit e161f668e5
2 changed files with 4 additions and 4 deletions

View file

@ -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);
}

View file

@ -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;
}
}
}