summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorMindy Pereira <mindyp@google.com>2012-02-23 11:09:03 -0800
committerMindy Pereira <mindyp@google.com>2012-02-23 14:31:52 -0800
commit8a8c50d8fcc4f20549c9f395edbad017a940e72b (patch)
tree57ca8c465c107cbd51eb0e313a19e34f0cb1bf07 /AndroidManifest.xml
parent621b4bdf468f9af05f8ce55518353709185d8f6e (diff)
downloadandroid_packages_apps_UnifiedEmail-8a8c50d8fcc4f20549c9f395edbad017a940e72b.tar.gz
android_packages_apps_UnifiedEmail-8a8c50d8fcc4f20549c9f395edbad017a940e72b.tar.bz2
android_packages_apps_UnifiedEmail-8a8c50d8fcc4f20549c9f395edbad017a940e72b.zip
Move over resources and files for the widget.
This renames/ moves over styles and drawables for the widget as well as xml files and classes. Doesn't do much right now except display a unified email widget in the widgets selection area and then say "app not installed" when you drop it. But its a start! Change-Id: Ie2759ce0adf520bd65222b50ddc8ab14c6659a37
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml34
1 files changed, 34 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 3d27dbbeb..95fc9265e 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -45,6 +45,24 @@
<activity
android:name=".ui.MailActivity"
android:uiOptions="splitActionBarWhenNarrow" />
+ <activity android:name="LabelSynchronizationActivity"
+ android:theme="@android:style/Theme.Holo.Light.Dialog" />
+
+ <activity android:name="CreateShortcutActivity"
+ android:theme="@style/ShortcutWidgetTheme"
+ android:label="@string/activity_folder_selection" />
+
+ <activity android:name="FolderSelectionActivity"
+ android:theme="@style/ShortcutWidgetTheme"
+ android:label="@string/activity_folder_selection" />
+
+ <activity android:name="MailboxSelectionActivity"
+ android:theme="@style/InvisibleShortcutWidgetTheme"
+ android:label="@string/app_name" >
+ <intent-filter>
+ <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
+ </intent-filter>
+ </activity>
<provider
android:authorities="com.android.mail.mockprovider"
@@ -87,6 +105,22 @@
<service android:name=".providers.protos.boot.GmailAccountService"/>
<service android:name=".providers.protos.boot.EmailAccountService"/>
<service android:name=".compose.EmptyService"/>
+
+ <!-- Widget -->
+ <receiver android:name=".widget.WidgetProvider" android:label="@string/app_name">
+ <intent-filter>
+ <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
+ </intent-filter>
+ <intent-filter>
+ <action android:name="com.google.android.gm.intent.ACTION_NOTIFY_DATASET_CHANGED" />
+ </intent-filter>
+ <meta-data android:name="android.appwidget.provider"
+ android:resource="@xml/widget_info" />
+ </receiver>
+ <service android:name=".widget.WidgetService"
+ android:permission="android.permission.BIND_REMOTEVIEWS"
+ android:exported="false" />
+
</application>
</manifest>