2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-30 05:37:43 +00:00

Do not make unnecessary stuff public in NetworkPacket

This commit is contained in:
Albert Vaca Cintora 2024-04-11 22:47:46 +02:00
parent 8268358b5a
commit 45dfbae63f
No known key found for this signature in database

View File

@ -14,10 +14,10 @@ import java.io.InputStream
import java.net.Socket import java.net.Socket
import kotlin.concurrent.Volatile import kotlin.concurrent.Volatile
data class NetworkPacket( class NetworkPacket private constructor(
val id: Long, val id: Long,
val type: String, val type: String,
val mBody: JSONObject, private val mBody: JSONObject,
var payload: Payload?, var payload: Payload?,
var payloadTransferInfo: JSONObject, var payloadTransferInfo: JSONObject,
) { ) {