mirror of
https://github.com/nextcloud/talk-android
synced 2025-02-03 05:03:04 +00:00
suppress generic exception handling warnings
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
3c4714f716
commit
71bffc0ea8
@ -195,6 +195,7 @@ class GeocodingController(args: Bundle) :
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Suppress("Detekt.TooGenericExceptionCaught")
|
||||||
private suspend fun executeGeocodingRequest() {
|
private suspend fun executeGeocodingRequest() {
|
||||||
var results: ArrayList<Address> = ArrayList()
|
var results: ArrayList<Address> = ArrayList()
|
||||||
try {
|
try {
|
||||||
|
@ -136,6 +136,7 @@ class LocationPickerController(args: Bundle) :
|
|||||||
initMap()
|
initMap()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Suppress("Detekt.TooGenericExceptionCaught")
|
||||||
override fun onDetach(view: View) {
|
override fun onDetach(view: View) {
|
||||||
super.onDetach(view)
|
super.onDetach(view)
|
||||||
try {
|
try {
|
||||||
@ -430,6 +431,7 @@ class LocationPickerController(args: Bundle) :
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Suppress("Detekt.TooGenericExceptionCaught")
|
||||||
private suspend fun executeGeocodingRequest(lat: Double, lon: Double) {
|
private suspend fun executeGeocodingRequest(lat: Double, lon: Double) {
|
||||||
var address: Address? = null
|
var address: Address? = null
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user