DO NOT MERGE Explicitly export content providers

In a future version of Android, the default value for
<provider android:exported> will change from true to false.
Explicitly set android:exported="true"

Bug: 3306452
Change-Id: I9c2e23ab1e55e63bc9ee4fa165a90e566f1911ac
This commit is contained in:
Nick Kralevich 2012-07-28 15:54:34 -07:00 committed by Paul Westbrook
parent a1b2b325eb
commit b9929c8ccc
1 changed files with 6 additions and 1 deletions

View File

@ -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" >
<grant-uri-permission android:pathPattern=".*" />
</provider>
@ -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" >
<grant-uri-permission android:pathPattern=".*" />
</provider>
@ -331,7 +333,8 @@
called SuggestionsProvider. The authority name is specified in the MailAppProvider
which is specific to the two apps separately. -->
<provider android:name="com.android.mail.providers.SuggestionsProvider"
android:authorities="com.android.email.suggestionsprovider" />
android:authorities="com.android.email.suggestionsprovider"
android:exported="true" />
<receiver android:name="com.android.mail.providers.protos.boot.AccountReceiver">
<intent-filter>
@ -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"
/>