2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-30 21:55:10 +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

View File

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