Explicitly set theme to all activities.
The default theme change to Holo caused a crash in MessageCompose,
because Holo has actionbar, which MessageCompose doesn't expect at
this point. Explicitly set theme to prevent crashes.
Bug 2945294.
Change-Id: Ic5f833690eeb1048e8c4c3ac7a42c2d454c61876
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 31863e3..fa13b39 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -56,8 +56,16 @@
android:description="@string/permission_access_provider_desc"/>
<uses-permission android:name="com.android.email.permission.ACCESS_PROVIDER"/>
+ <!--
+ Regarding android:theme
+ Some of the activities can't handle ActionBar, which comes with the new
+ default theme "Holo". Explicitly set the traditional default theme.
+ TODO This should go away. (Or make Light.Holo default)
+ -->
<application android:icon="@drawable/icon" android:label="@string/app_name"
- android:name="Email">
+ android:name="Email"
+ android:theme="@android:style/Theme"
+ >
<activity
android:name=".activity.Welcome"
android:theme="@android:style/Theme.WithActionBar" >