Update dependencies

This commit is contained in:
Mygod
2020-03-08 06:52:10 +08:00
parent 486e56fd35
commit cf2beb8aac
8 changed files with 56 additions and 49 deletions

View File

@@ -50,7 +50,7 @@ class RepeaterService : Service(), CoroutineScope, WifiP2pManager.ChannelListene
*/
private val p2pManager: WifiP2pManager? by lazy {
try {
app.getSystemService<WifiP2pManager>()
app.getSystemService()
} catch (e: RuntimeException) {
Timber.w(e)
null