aboutsummaryrefslogtreecommitdiff
path: root/java/android/OlmLibSdk
diff options
context:
space:
mode:
authorylecollen <ylecollen@amdocs.com>2017-01-02 15:28:42 +0100
committerylecollen <ylecollen@amdocs.com>2017-01-02 15:28:42 +0100
commitf4ae0d86c9bd8d4ae74ecf1b17c33d427628ca34 (patch)
treefba7a3267fbd06110bf4af83ae298341af8cf973 /java/android/OlmLibSdk
parentb893b81c8242b9838700ec5c8cb1be088263d8d9 (diff)
getOlmAccountId is aonly public in the OLM SDK package
Diffstat (limited to 'java/android/OlmLibSdk')
-rw-r--r--java/android/OlmLibSdk/olm-sdk/src/main/java/org/matrix/olm/OlmAccount.java3
1 files changed, 1 insertions, 2 deletions
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;
}