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
This commit is contained in:
parent
bf37f67e6d
commit
5d1e32a7da
|
@ -56,8 +56,16 @@
|
||||||
android:description="@string/permission_access_provider_desc"/>
|
android:description="@string/permission_access_provider_desc"/>
|
||||||
<uses-permission android:name="com.android.email.permission.ACCESS_PROVIDER"/>
|
<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"
|
<application android:icon="@drawable/icon" android:label="@string/app_name"
|
||||||
android:name="Email">
|
android:name="Email"
|
||||||
|
android:theme="@android:style/Theme"
|
||||||
|
>
|
||||||
<activity
|
<activity
|
||||||
android:name=".activity.Welcome"
|
android:name=".activity.Welcome"
|
||||||
android:theme="@android:style/Theme.WithActionBar" >
|
android:theme="@android:style/Theme.WithActionBar" >
|
||||||
|
|
Loading…
Reference in New Issue