From c1e948dbbf14af95076a5b5c9f6596146ba8f550 Mon Sep 17 00:00:00 2001 From: Mygod Date: Mon, 14 Jan 2019 19:35:03 +0800 Subject: [PATCH] Log persistent groups --- mobile/src/main/java/be/mygod/vpnhotspot/RepeaterService.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/mobile/src/main/java/be/mygod/vpnhotspot/RepeaterService.kt b/mobile/src/main/java/be/mygod/vpnhotspot/RepeaterService.kt index e28157ac..3621c708 100644 --- a/mobile/src/main/java/be/mygod/vpnhotspot/RepeaterService.kt +++ b/mobile/src/main/java/be/mygod/vpnhotspot/RepeaterService.kt @@ -192,6 +192,7 @@ class RepeaterService : Service(), WifiP2pManager.ChannelListener, SharedPrefere val device = binder.thisDevice ?: return try { p2pManager.requestPersistentGroupInfo(channel) { + DebugHelper.setString("$TAG.p2pPersistentGroups", it.toString()) val ownedGroups = it.filter { it.isGroupOwner && it.owner.deviceAddress == device.deviceAddress } val main = ownedGroups.minBy { it.netId } // do not replace current group if it's better