fix problems with authinfo wrappers, update ms2 for opensles fixes

This commit is contained in:
Simon Morlat 2014-08-11 16:53:16 +02:00
parent 6e2861e544
commit b9a6e50746
3 changed files with 5 additions and 3 deletions

View file

@ -37,7 +37,7 @@ class LinphoneAuthInfoImpl implements LinphoneAuthInfo {
boolean ownPtr = false;
protected LinphoneAuthInfoImpl(String username,String password, String realm, String domain) {
this(username, null, password, null, null, domain);
this(username, null, password, null, realm, domain);
}
protected LinphoneAuthInfoImpl(String username, String userid, String passwd, String ha1, String realm, String domain) {
nativePtr = newLinphoneAuthInfo();
@ -46,6 +46,7 @@ class LinphoneAuthInfoImpl implements LinphoneAuthInfo {
this.setPassword(passwd);
this.setHa1(ha1);
this.setDomain(domain);
this.setRealm(realm);
ownPtr = true;
}
protected LinphoneAuthInfoImpl(long aNativePtr) {

View file

@ -93,7 +93,8 @@ public class LinphoneChatMessageImpl implements LinphoneChatMessage {
public ErrorInfo getErrorInfo() {
return new ErrorInfoImpl(getErrorInfo(nativePtr));
}
protected void finalize(){
protected void finalize() throws Throwable{
unref(nativePtr);
super.finalize();
}
}

@ -1 +1 @@
Subproject commit 4064390b48c957dcf3077b0e30e0c082395bbf05
Subproject commit cc4a59f373ba3899815be662e7f3b63ee677b01e