mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-17 03:16:27 -04:00
reformated code
This commit is contained in:
parent
16bd02901e
commit
2ef3f21aae
@ -92,7 +92,7 @@ abstract class PeerGroupHandshake(private var groupInfo: WifiP2pInfo) {
|
|||||||
val kiwixHandShakeMessage = objectInputStream.readObject()
|
val kiwixHandShakeMessage = objectInputStream.readObject()
|
||||||
|
|
||||||
// Verify that the peer trying to communicate is a kiwix app intending to transfer files
|
// Verify that the peer trying to communicate is a kiwix app intending to transfer files
|
||||||
return@readHandshakeAndExchangeMetaData if (isKiwixHandshake(
|
if (isKiwixHandshake(
|
||||||
kiwixHandShakeMessage
|
kiwixHandShakeMessage
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
@ -110,6 +110,7 @@ abstract class PeerGroupHandshake(private var groupInfo: WifiP2pInfo) {
|
|||||||
ex.printStackTrace()
|
ex.printStackTrace()
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user