Email: Fix the ActivityNotFoundException when click "Update now"

There is no activity response the intent of action VIEW and
data auth://com.android.email.ACCOUNT_SECURITY.

Add the intent filter for activity AccountSecurity, then this activity
can handle this intent.

CRs-fixed: 816922
Change-Id: I0b8982c63bd31d3fcca506fde9a1ad0d72e38cbb
This commit is contained in:
wangjing 2015-04-07 16:22:06 +08:00 committed by Gerrit - the friendly Code Review server
parent 11f2252994
commit 0bda8528e3

View File

@ -345,6 +345,12 @@
android:name=".activity.setup.AccountSecurity"
android:label="@string/account_security_title"
>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:host="com.android.email.ACCOUNT_SECURITY" />
<data android:scheme="auth"/>
</intent-filter>
</activity>
<activity