summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorPaul Westbrook <pwestbro@google.com>2012-01-04 17:55:39 -0800
committerPaul Westbrook <pwestbro@google.com>2012-01-05 13:47:35 -0800
commitaa3e7a53861d62b8ca3858c83d6cb07ae4617cf9 (patch)
treeeb0f20477e857d7bfda28196ff4a467bb9626332 /AndroidManifest.xml
parent9a62433e45b49104c62640e2b2a75c9949695935 (diff)
downloadandroid_packages_apps_UnifiedEmail-aa3e7a53861d62b8ca3858c83d6cb07ae4617cf9.tar.gz
android_packages_apps_UnifiedEmail-aa3e7a53861d62b8ca3858c83d6cb07ae4617cf9.tar.bz2
android_packages_apps_UnifiedEmail-aa3e7a53861d62b8ca3858c83d6cb07ae4617cf9.zip
Add a cache for the list of accounts.
Now the EmailActivity doesn't need to know about where the results are coming from, but can get it from the AccoutnCacheProvider Also, this CL has the start of the integration with the Gmail mail content At app start up, the Gmail accounts are added to the cache of accounts. Change-Id: Iffd91d42753f35b85720c9c0a6f0a5bb7be5c3e3
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 64510efa6..45d7dd936 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -19,6 +19,8 @@
android:versionCode="1"
android:versionName="1.0" >
+ <uses-permission android:name="android.permission.GET_ACCOUNTS" />
+
<application
android:icon="@mipmap/ic_launcher_mail"
android:label="@string/app_name"
@@ -48,6 +50,30 @@
android:name=".providers.protos.mock.MockUiProvider" >
<grant-uri-permission android:pathPattern=".*" />
</provider>
+
+ <provider
+ android:authorities="com.android.mail.accountcache"
+ android:label="@string/account_cache_provider"
+ android:multiprocess="false"
+ android:name=".providers.AccountCacheProvider" >
+ <grant-uri-permission android:pathPattern=".*" />
+ </provider>
+
+ <provider
+ android:authorities="com.android.mail.dummygmailprovider"
+ android:label="@string/dummy_gmail_provider"
+ android:multiprocess="false"
+ android:name=".providers.protos.gmail.DummyGmailProvider" >
+ <grant-uri-permission android:pathPattern=".*" />
+ </provider>
+
+ <receiver android:name=".providers.protos.gmail.GmailIntentReceiver">
+ <intent-filter>
+ <action android:name="com.android.email.providers.protos.gmail.intent.ACTION_PROVIDER_CREATED" />
+ </intent-filter>
+ </receiver>
+
+ <service android:name=".providers.protos.gmail.GmailIntentService"/>
</application>
</manifest>