mirror of
				https://github.com/SimpleMobileTools/Simple-Contacts.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	catch exceptions thrown at getting default thumbnail size
This commit is contained in:
		| @@ -153,6 +153,7 @@ fun Context.getPhotoThumbnailSize(): Int { | ||||
|         if (cursor?.moveToFirst() == true) { | ||||
|             return cursor.getIntValue(ContactsContract.DisplayPhoto.THUMBNAIL_MAX_DIM) | ||||
|         } | ||||
|     } catch (ignored: Exception) { | ||||
|     } finally { | ||||
|         cursor?.close() | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user