diff options
Diffstat (limited to 'java/com/android')
-rw-r--r-- | java/com/android/contacts/common/model/ContactLoader.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/java/com/android/contacts/common/model/ContactLoader.java b/java/com/android/contacts/common/model/ContactLoader.java index 7ad1f71ac..d2c757709 100644 --- a/java/com/android/contacts/common/model/ContactLoader.java +++ b/java/com/android/contacts/common/model/ContactLoader.java @@ -731,6 +731,7 @@ public class ContactLoader extends AsyncTaskLoader<Contact> { intent.setClassName(servicePackageName, serviceName); intent.setAction(Intent.ACTION_VIEW); intent.setDataAndType(uri, RawContacts.CONTENT_ITEM_TYPE); + intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); try { context.startService(intent); } catch (Exception e) { |