mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
Added utf8 to Datapacket to make the remote IMeshService work
This commit is contained in:
parent
691c5862cb
commit
bd74d64be0
1 changed files with 4 additions and 0 deletions
|
|
@ -4,6 +4,8 @@ import android.os.Parcel
|
|||
import android.os.Parcelable
|
||||
import kotlinx.parcelize.Parcelize
|
||||
import kotlinx.serialization.Serializable
|
||||
import java.nio.charset.Charset
|
||||
|
||||
|
||||
@Parcelize
|
||||
enum class MessageStatus : Parcelable {
|
||||
|
|
@ -144,6 +146,8 @@ data class DataPacket(
|
|||
override fun newArray(size: Int): Array<DataPacket?> {
|
||||
return arrayOfNulls(size)
|
||||
}
|
||||
val utf8 = Charset.forName("UTF-8")
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue