Misc fixes

This commit is contained in:
Mygod
2018-06-11 10:41:01 +08:00
parent e07280d436
commit 9a1a3f7732
10 changed files with 16 additions and 17 deletions

View File

@@ -134,7 +134,7 @@ class RepeaterService : Service(), WifiP2pManager.ChannelListener, SharedPrefere
p2pManager = systemService()
onChannelDisconnected()
app.pref.registerOnSharedPreferenceChangeListener(this)
} catch (exc: TypeCastException) {
} catch (exc: KotlinNullPointerException) {
exc.printStackTrace()
Crashlytics.logException(exc)
}