mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 21:58:52 +02:00
Small improvements
This commit is contained in:
@@ -135,7 +135,7 @@ public class AdapterContact extends RecyclerView.Adapter<AdapterContact.ViewHold
|
||||
*/
|
||||
ParcelFileDescriptor pfd = context.getContentResolver().openFileDescriptor(uri, "r");
|
||||
if (pfd == null)
|
||||
throw new IllegalArgumentException();
|
||||
throw new IllegalArgumentException("Contact inaccessible");
|
||||
pfd.close();
|
||||
|
||||
ivAvatar.setImageURI(uri);
|
||||
|
||||
Reference in New Issue
Block a user