Refine params

This commit is contained in:
Mygod
2020-04-21 05:24:16 +08:00
parent 4461c1fd58
commit 2b3f0fed4d
3 changed files with 5 additions and 5 deletions

View File

@@ -60,7 +60,7 @@ class LocalOnlyHotspotManager(private val parent: TetheringFragment) : Manager()
context.startActivity(Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS))
Toast.makeText(context, R.string.tethering_temp_hotspot_location, Toast.LENGTH_LONG).show()
} catch (e: ActivityNotFoundException) {
app.logEvent("location_settings") { param("message", e.message.toString()) }
app.logEvent("location_settings") { param("message", e.toString()) }
SmartSnackbar.make(R.string.tethering_temp_hotspot_location).show()
}
return