aboutsummaryrefslogtreecommitdiff
path: root/android/olm-sdk/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'android/olm-sdk/src/main')
-rw-r--r--android/olm-sdk/src/main/java/org/matrix/olm/OlmSAS.java6
-rw-r--r--android/olm-sdk/src/main/jni/Application.mk2
2 files changed, 5 insertions, 3 deletions
diff --git a/android/olm-sdk/src/main/java/org/matrix/olm/OlmSAS.java b/android/olm-sdk/src/main/java/org/matrix/olm/OlmSAS.java
index 4bd1579..a0589e9 100644
--- a/android/olm-sdk/src/main/java/org/matrix/olm/OlmSAS.java
+++ b/android/olm-sdk/src/main/java/org/matrix/olm/OlmSAS.java
@@ -40,6 +40,8 @@ public class OlmSAS {
/**
* Gets the Public Key encoded in Base64 with no padding
+ * @return The public key
+ * @throws OlmException the failure reason
*/
public String getPublicKey() throws OlmException {
try {
@@ -60,7 +62,7 @@ public class OlmSAS {
* Sets the public key of other user.
*
* @param otherPkey other user public key (base64 encoded with no padding)
- * @throws OlmException
+ * @throws OlmException the failure reason
*/
public void setTheirPublicKey(String otherPkey) throws OlmException {
try {
@@ -79,7 +81,7 @@ public class OlmSAS {
* per the Matrix spec.
* @param byteNumber The size of the short code to generate
* @return The generated shortcode
- * @throws OlmException
+ * @throws OlmException the failure reason
*/
public byte[] generateShortCode(String info, int byteNumber) throws OlmException {
if (theirPublicKey == null || theirPublicKey.isEmpty()) {
diff --git a/android/olm-sdk/src/main/jni/Application.mk b/android/olm-sdk/src/main/jni/Application.mk
index e11f39a..e052911 100644
--- a/android/olm-sdk/src/main/jni/Application.mk
+++ b/android/olm-sdk/src/main/jni/Application.mk
@@ -1,3 +1,3 @@
APP_PLATFORM := android-16
APP_ABI := arm64-v8a armeabi-v7a x86_64 x86
-APP_STL := gnustl_static
+APP_STL := c++_static \ No newline at end of file