From b9929c8cccc43c8005a1796223fc3963d8620bae Mon Sep 17 00:00:00 2001 From: Nick Kralevich Date: Sat, 28 Jul 2012 15:54:34 -0700 Subject: [PATCH] DO NOT MERGE Explicitly export content providers In a future version of Android, the default value for will change from true to false. Explicitly set android:exported="true" Bug: 3306452 Change-Id: I9c2e23ab1e55e63bc9ee4fa165a90e566f1911ac --- AndroidManifest.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index e51618c90..133413c4e 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -314,6 +314,7 @@ android:authorities="com.android.email2.conversation.provider" android:label="@string/conversation_content_provider" android:multiprocess="false" + android:exported="true" android:name="com.android.mail.browse.EmailConversationProvider" > @@ -322,6 +323,7 @@ android:authorities="com.android.email2.accountcache" android:label="@string/account_cache_provider" android:multiprocess="false" + android:exported="true" android:name="com.android.mail.providers.EmailAccountCacheProvider" > @@ -331,7 +333,8 @@ called SuggestionsProvider. The authority name is specified in the MailAppProvider which is specific to the two apps separately. --> + android:authorities="com.android.email.suggestionsprovider" + android:exported="true" /> @@ -596,6 +599,7 @@ android:authorities="com.android.email.attachmentprovider" android:multiprocess="true" android:grantUriPermissions="true" + android:exported="true" android:readPermission="com.android.email.permission.READ_ATTACHMENT" /> @@ -605,6 +609,7 @@ android:name=".provider.EmailProvider" android:authorities="com.android.email.provider;com.android.email.notifier" android:multiprocess="true" + android:exported="true" android:permission="com.android.email.permission.ACCESS_PROVIDER" android:label="@string/app_name" />