mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-06-05 21:59:27 +02:00
report all exceptions thrown during exporting contacts
This commit is contained in:
@ -69,6 +69,7 @@ fun Context.getContactUriRawId(uri: Uri): Int {
|
||||
if (cursor.moveToFirst()) {
|
||||
return cursor.getIntValue(ContactsContract.Contacts.NAME_RAW_CONTACT_ID)
|
||||
}
|
||||
} catch (ignored: Exception) {
|
||||
} finally {
|
||||
cursor?.close()
|
||||
}
|
||||
|
Reference in New Issue
Block a user