lets not show errors at some contact related operations

This commit is contained in:
tibbi 2021-07-14 09:40:34 +02:00
parent b7d936cead
commit 4fdafdbe29

View file

@ -230,9 +230,7 @@ class SimpleContactsHelper(val context: Context) {
return cursor.getStringValue(PhoneLookup.DISPLAY_NAME)
}
}
} catch (e: Exception) {
context.toast("40")
//context.showErrorToast(e)
} catch (ignored: Exception) {
}
return number
@ -255,9 +253,7 @@ class SimpleContactsHelper(val context: Context) {
return cursor.getStringValue(PhoneLookup.PHOTO_URI) ?: ""
}
}
} catch (e: Exception) {
context.toast("41")
//context.showErrorToast(e)
} catch (ignored: Exception) {
}
return ""