mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-17 03:16:27 -04:00
2435 bug fixed
This commit is contained in:
parent
0a3acb04d0
commit
ca03660184
@ -95,7 +95,7 @@ class WifiDirectManager @Inject constructor(
|
||||
this.filesForTransfer = filesForTransfer
|
||||
isFileSender = filesForTransfer.isNotEmpty()
|
||||
manager = activity.getSystemService(Context.WIFI_P2P_SERVICE) as WifiP2pManager
|
||||
channel = manager.initialize(activity, Looper.getMainLooper(), null)
|
||||
channel = manager.initialize(activity.baseContext, Looper.getMainLooper(), null)
|
||||
registerWifiDirectBroadcastReceiver()
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user