mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-04 08:08:16 +02:00
Request URI permissions when picking contacts
This commit is contained in:
@@ -4700,6 +4700,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
|
||||
private void onPickContact(String name, String email) {
|
||||
Intent pick = new Intent(Intent.ACTION_PICK, ContactsContract.Contacts.CONTENT_URI);
|
||||
pick.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
|
||||
properties.setValue("name", name);
|
||||
properties.setValue("email", email);
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user