From 4803f4192d1e73279f06d2ab028b52d108212ac8 Mon Sep 17 00:00:00 2001 From: Hubert Chathi Date: Mon, 7 Jun 2021 16:07:01 -0400 Subject: [PATCH] make (de)serialize methods public in OlmAccount --- android/olm-sdk/src/main/java/org/matrix/olm/OlmAccount.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/olm-sdk/src/main/java/org/matrix/olm/OlmAccount.java b/android/olm-sdk/src/main/java/org/matrix/olm/OlmAccount.java index 98a3c5b..1303138 100644 --- a/android/olm-sdk/src/main/java/org/matrix/olm/OlmAccount.java +++ b/android/olm-sdk/src/main/java/org/matrix/olm/OlmAccount.java @@ -353,7 +353,7 @@ public class OlmAccount extends CommonSerializeUtils implements Serializable { * @return the account as bytes buffer */ @Override - protected byte[] serialize(byte[] aKey, StringBuffer aErrorMsg) { + public byte[] serialize(byte[] aKey, StringBuffer aErrorMsg) { byte[] pickleRetValue = null; // sanity check @@ -389,7 +389,7 @@ public class OlmAccount extends CommonSerializeUtils implements Serializable { * @exception Exception the exception */ @Override - protected void deserialize(byte[] aSerializedData, byte[] aKey) throws Exception { + public void deserialize(byte[] aSerializedData, byte[] aKey) throws Exception { String errorMsg = null; try {