Update beta dependencies

This commit is contained in:
Mygod
2020-04-20 03:56:27 +08:00
parent 3260783eec
commit 4461c1fd58
2 changed files with 4 additions and 4 deletions

View File

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