kopia lustrzana https://github.com/meshtastic/Meshtastic-Android
Added utf8 to Datapacket to make the remote IMeshService work
rodzic
691c5862cb
commit
bd74d64be0
|
@ -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")
|
||||
}
|
||||
|
||||
|
||||
}
|
Ładowanie…
Reference in New Issue