Don't assume ComposeActivity's class name won't change

Instead, use a generic intent action that will just launch whichever
ComposeActivity the current app needs.

Change-Id: Iaefed106107bef7bd1f9d5086800862ceb42c009
This commit is contained in:
Scott Kennedy 2014-04-07 14:31:21 -07:00
parent 2f638fb4f5
commit ed659b0b11
1 changed files with 5 additions and 0 deletions

View File

@ -140,6 +140,11 @@
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="mailto" />
</intent-filter>
<intent-filter>
<action android:name="com.android.mail.intent.action.LAUNCH_COMPOSE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity-alias android:name="com.android.mail.compose.ComposeActivity"