diff options
Diffstat (limited to 'java/android/OlmLibSdk/olm-sdk/src/main')
-rw-r--r-- | java/android/OlmLibSdk/olm-sdk/src/main/java/org/matrix/olm/OlmAccount.java | 4 | ||||
-rw-r--r-- | java/android/OlmLibSdk/olm-sdk/src/main/java/org/matrix/olm/OlmSession.java | 4 |
2 files changed, 4 insertions, 4 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 e9eddc7..963f0a4 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 @@ -35,7 +35,7 @@ public class OlmAccount { private long mNativeOlmAccountId; public OlmAccount() { - //initNewAccount(); + initNewAccount(); } /** @@ -79,7 +79,7 @@ public class OlmAccount { * To be called before any other API call. * @return true if init succeed, false otherwise. */ - public boolean initNewAccount() { + private boolean initNewAccount() { boolean retCode = false; if(0 != (mNativeOlmAccountId = initNewAccountJni())){ retCode = true; diff --git a/java/android/OlmLibSdk/olm-sdk/src/main/java/org/matrix/olm/OlmSession.java b/java/android/OlmLibSdk/olm-sdk/src/main/java/org/matrix/olm/OlmSession.java index 0c2888c..06e2fcf 100644 --- a/java/android/OlmLibSdk/olm-sdk/src/main/java/org/matrix/olm/OlmSession.java +++ b/java/android/OlmLibSdk/olm-sdk/src/main/java/org/matrix/olm/OlmSession.java @@ -31,7 +31,7 @@ public class OlmSession { private OlmAccount mOlmAccount; public OlmSession() { - //initNewSession(); + initNewSession(); } /** @@ -76,7 +76,7 @@ public class OlmSession { * To be called before any other API call. * @return true if init succeed, false otherwise. */ - public boolean initNewSession() { + private boolean initNewSession() { boolean retCode = false; if(0 != (mNativeOlmSessionId = initNewSessionJni())){ retCode = true; |