mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-29 21:27:40 +00:00
Do not make unnecessary stuff public in NetworkPacket
This commit is contained in:
parent
8268358b5a
commit
45dfbae63f
@ -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,
|
||||
) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user