From f4ae0d86c9bd8d4ae74ecf1b17c33d427628ca34 Mon Sep 17 00:00:00 2001 From: ylecollen Date: Mon, 2 Jan 2017 15:28:42 +0100 Subject: getOlmAccountId is aonly public in the OLM SDK package --- .../OlmLibSdk/olm-sdk/src/main/java/org/matrix/olm/OlmAccount.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'java/android') diff --git a/java/android/OlmLibSdk/olm-sdk/src/main/java/org/matrix/olm/OlmAccount.java b/java/android/OlmLibSdk/olm-sdk/src/main/java/org/matrix/olm/OlmAccount.java index 70ecd2a..0aa2c3d 100644 --- a/java/android/OlmLibSdk/olm-sdk/src/main/java/org/matrix/olm/OlmAccount.java +++ b/java/android/OlmLibSdk/olm-sdk/src/main/java/org/matrix/olm/OlmAccount.java @@ -63,7 +63,6 @@ public class OlmAccount extends CommonSerializeUtils implements Serializable { */ private transient long mNativeId; - public OlmAccount() throws OlmException { if(!initNewAccount()) { throw new OlmException(OlmException.EXCEPTION_CODE_INIT_ACCOUNT_CREATION,OlmException.EXCEPTION_MSG_INIT_ACCOUNT_CREATION); @@ -162,7 +161,7 @@ public class OlmAccount extends CommonSerializeUtils implements Serializable { * Getter on the account ID. * @return native account ID */ - public long getOlmAccountId(){ + long getOlmAccountId(){ return mNativeId; } -- cgit v1.2.3