Dont disable compose until accounts are added; listen for account chages to update cache
We want this to go to the add account screen instead. Change-Id: I087deed7462b87dc026d36fa17b232dc312e8525
This commit is contained in:
parent
7d015353a9
commit
9fbb81c9b6
@ -76,9 +76,7 @@
|
|||||||
<activity
|
<activity
|
||||||
android:name="com.android.mail.compose.ComposeActivity"
|
android:name="com.android.mail.compose.ComposeActivity"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:theme="@android:style/Theme.Holo.Light"
|
android:theme="@android:style/Theme.Holo.Light">
|
||||||
android:enabled="false"
|
|
||||||
>
|
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action
|
<action
|
||||||
android:name="android.intent.action.VIEW" />
|
android:name="android.intent.action.VIEW" />
|
||||||
@ -327,6 +325,7 @@
|
|||||||
<receiver android:name="com.android.mail.providers.protos.boot.AccountReceiver">
|
<receiver android:name="com.android.mail.providers.protos.boot.AccountReceiver">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="com.android.email2.providers.protos.boot.intent.ACTION_PROVIDER_CREATED" />
|
<action android:name="com.android.email2.providers.protos.boot.intent.ACTION_PROVIDER_CREATED" />
|
||||||
|
<action android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</receiver>
|
</receiver>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user