Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
matrix-org
Olm
Commits
4803f419
Commit
4803f419
authored
Jun 07, 2021
by
Hubert Chathi
Browse files
make (de)serialize methods public in OlmAccount
parent
3612ac7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
android/olm-sdk/src/main/java/org/matrix/olm/OlmAccount.java
View file @
4803f419
...
...
@@ -353,7 +353,7 @@ public class OlmAccount extends CommonSerializeUtils implements Serializable {
* @return the account as bytes buffer
*/
@Override
p
rotected
byte
[]
serialize
(
byte
[]
aKey
,
StringBuffer
aErrorMsg
)
{
p
ublic
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
p
rotected
void
deserialize
(
byte
[]
aSerializedData
,
byte
[]
aKey
)
throws
Exception
{
p
ublic
void
deserialize
(
byte
[]
aSerializedData
,
byte
[]
aKey
)
throws
Exception
{
String
errorMsg
=
null
;
try
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment