Update support lib to 28.0.0-alpha3

This commit is contained in:
Mygod
2018-06-10 22:28:09 +08:00
parent 3fbca0abef
commit 814f42311b
15 changed files with 80 additions and 8 deletions

View File

@@ -131,7 +131,7 @@ class RepeaterService : Service(), WifiP2pManager.ChannelListener, SharedPrefere
override fun onCreate() {
super.onCreate()
try {
p2pManager = getSystemService(Context.WIFI_P2P_SERVICE) as WifiP2pManager
p2pManager = systemService()
onChannelDisconnected()
app.pref.registerOnSharedPreferenceChangeListener(this)
} catch (exc: TypeCastException) {