From 6608a7629720a1bbd5f96772fab919379f246aca Mon Sep 17 00:00:00 2001 From: Mygod Date: Sat, 21 Apr 2018 17:27:30 -0700 Subject: [PATCH] Refine WifiP2pManagerHelper --- .../be/mygod/vpnhotspot/net/WifiP2pManagerHelper.kt | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/mobile/src/main/java/be/mygod/vpnhotspot/net/WifiP2pManagerHelper.kt b/mobile/src/main/java/be/mygod/vpnhotspot/net/WifiP2pManagerHelper.kt index 42780e54..344113bb 100644 --- a/mobile/src/main/java/be/mygod/vpnhotspot/net/WifiP2pManagerHelper.kt +++ b/mobile/src/main/java/be/mygod/vpnhotspot/net/WifiP2pManagerHelper.kt @@ -10,17 +10,7 @@ import java.lang.reflect.Proxy import java.util.regex.Pattern object WifiP2pManagerHelper { - /** Interface for callback invocation when stored group info list is available {@hide} */ - interface PersistentGroupInfoListener { - /** - * The requested stored p2p group info list is available - * @param groups Wi-Fi p2p group info list - */ - fun onPersistentGroupInfoAvailable(groups: Collection) - } - - const val TAG = "WifiP2pManagerHelper" - const val TEMPORARY_NET_ID = -1 + private const val TAG = "WifiP2pManagerHelper" /** * Matches the output of dumpsys wifip2p. This part is available since Android 4.2.