lets not show errors at some contact related operations
This commit is contained in:
parent
b7d936cead
commit
4fdafdbe29
1 changed files with 2 additions and 6 deletions
|
@ -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 ""
|
||||
|
|
Loading…
Reference in a new issue