Fix app shorcut after upgrade

Now old app shortcuts will continue to work after upgrading to 4.2

Also re-add the APP_EMAIL category

Bug: 6363841
Change-Id: Ib3bc860931da4c25e06f084e9fffe96703fd4f0f
This commit is contained in:
Paul Westbrook 2012-07-21 05:35:21 -07:00
parent f3702a9796
commit 70744d6333

View File

@ -181,10 +181,6 @@
android:label="@string/app_name"
android:name="com.android.email2.ui.MailActivityEmail"
android:uiOptions="splitActionBarWhenNarrow">
<intent-filter >
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
@ -198,6 +194,17 @@
<meta-data android:name="android.app.searchable" android:resource="@xml/searchable" />
</activity>
<activity-alias android:name="com.android.email.activity.Welcome"
android:targetActivity="com.android.email2.ui.MailActivityEmail"
android:label="@string/app_name" >
<intent-filter >
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.APP_EMAIL" />
</intent-filter>
</activity-alias>
<activity
android:name=".provider.FolderPickerActivity"
android:label="@string/folder_picker_title"