Refine code style

This commit is contained in:
Mygod
2018-04-21 23:49:10 -07:00
parent 2615abae2f
commit 2b2639e288
4 changed files with 8 additions and 10 deletions

View File

@@ -85,7 +85,7 @@ class RepeaterService : Service(), WifiP2pManager.ChannelListener, VpnMonitor.Ca
else -> Log.w(TAG, "Unexpected groups: $it")
}
})
} catch (e: Exception) {
} catch (e: ReflectiveOperationException) {
e.printStackTrace()
Toast.makeText(this@RepeaterService, e.message, Toast.LENGTH_LONG).show()
}