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:
@@ -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,
|
||||
) {
|
||||
|
Reference in New Issue
Block a user