From: Sylvain Berfini Date: Thu, 2 Aug 2012 10:30:27 +0000 (+0200) Subject: Using real useragent when creating an account X-Git-Url: http://sjero.net/git/?p=linphone;a=commitdiff_plain;h=e1e58fbe4c4ec1bae178920261da939470915782 Using real useragent when creating an account --- diff --git a/LinphoneCoreImpl.java b/LinphoneCoreImpl.java index 1f182b47..e4f8dd06 100644 --- a/LinphoneCoreImpl.java +++ b/LinphoneCoreImpl.java @@ -110,6 +110,7 @@ class LinphoneCoreImpl implements LinphoneCore { private native void removeCallLog(long nativePtr, long callLogPtr); private native int getMissedCallsCount(long nativePtr); private native void resetMissedCallsCount(long nativePtr); + private native String getVersion(long nativePtr); LinphoneCoreImpl(LinphoneCoreListener listener, File userConfig,File factoryConfig,Object userdata) throws IOException { mListener=listener; @@ -731,4 +732,9 @@ class LinphoneCoreImpl implements LinphoneCore { public void refreshRegisters() { refreshRegisters(nativePtr); } + + @Override + public String getVersion() { + return getVersion(nativePtr); + } }