mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-20 05:48:26 +00:00
Update build number
This commit is contained in:
parent
79e76ef46b
commit
b0f564672b
@ -143,7 +143,7 @@ dependencies {
|
|||||||
testImplementation 'org.robolectric:shadows-multidex:4.2'
|
testImplementation 'org.robolectric:shadows-multidex:4.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
def canonicalVersionCode = 169
|
def canonicalVersionCode = 170
|
||||||
def canonicalVersionName = "1.10.7"
|
def canonicalVersionName = "1.10.7"
|
||||||
|
|
||||||
def postFixSize = 10
|
def postFixSize = 10
|
||||||
|
@ -158,7 +158,7 @@ class AttachmentUploadJob(val attachmentID: Long, val threadID: String, val mess
|
|||||||
.putString(THREAD_ID_KEY, threadID)
|
.putString(THREAD_ID_KEY, threadID)
|
||||||
.putByteArray(MESSAGE_KEY, serializedMessage)
|
.putByteArray(MESSAGE_KEY, serializedMessage)
|
||||||
.putString(MESSAGE_SEND_JOB_ID_KEY, messageSendJobID)
|
.putString(MESSAGE_SEND_JOB_ID_KEY, messageSendJobID)
|
||||||
.build();
|
.build()
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun getFactoryKey(): String {
|
override fun getFactoryKey(): String {
|
||||||
@ -172,7 +172,7 @@ class AttachmentUploadJob(val attachmentID: Long, val threadID: String, val mess
|
|||||||
val kryo = Kryo()
|
val kryo = Kryo()
|
||||||
kryo.isRegistrationRequired = false
|
kryo.isRegistrationRequired = false
|
||||||
val input = Input(serializedMessage)
|
val input = Input(serializedMessage)
|
||||||
val message: Message = kryo.readObject(input, Message::class.java)
|
val message = kryo.readObject(input, Message::class.java)
|
||||||
input.close()
|
input.close()
|
||||||
return AttachmentUploadJob(
|
return AttachmentUploadJob(
|
||||||
data.getLong(ATTACHMENT_ID_KEY),
|
data.getLong(ATTACHMENT_ID_KEY),
|
||||||
|
@ -67,7 +67,9 @@ class NotifyPNServerJob(val message: SnodeMessage) : Job {
|
|||||||
val output = Output(serializedMessage)
|
val output = Output(serializedMessage)
|
||||||
kryo.writeObject(output, message)
|
kryo.writeObject(output, message)
|
||||||
output.close()
|
output.close()
|
||||||
return Data.Builder().putByteArray(MESSAGE_KEY, serializedMessage).build();
|
return Data.Builder()
|
||||||
|
.putByteArray(MESSAGE_KEY, serializedMessage)
|
||||||
|
.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun getFactoryKey(): String {
|
override fun getFactoryKey(): String {
|
||||||
@ -81,7 +83,7 @@ class NotifyPNServerJob(val message: SnodeMessage) : Job {
|
|||||||
val kryo = Kryo()
|
val kryo = Kryo()
|
||||||
kryo.isRegistrationRequired = false
|
kryo.isRegistrationRequired = false
|
||||||
val input = Input(serializedMessage)
|
val input = Input(serializedMessage)
|
||||||
val message: SnodeMessage = kryo.readObject(input, SnodeMessage::class.java)
|
val message = kryo.readObject(input, SnodeMessage::class.java)
|
||||||
input.close()
|
input.close()
|
||||||
return NotifyPNServerJob(message)
|
return NotifyPNServerJob(message)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user