summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwangjing <wangjing@codeaurora.org>2015-04-07 16:22:06 +0800
committerMichael Bestas <mikeioannina@gmail.com>2016-12-30 20:18:32 +0200
commit651366bd038eddccba553c5aed503bc5398eb161 (patch)
tree3d21aacb096d41bea95f5943301330ef822638b1
parent5a25e00ab9f6164da698a9b55117ec20d047a1df (diff)
downloadandroid_packages_apps_Email-651366bd038eddccba553c5aed503bc5398eb161.tar.gz
android_packages_apps_Email-651366bd038eddccba553c5aed503bc5398eb161.tar.bz2
android_packages_apps_Email-651366bd038eddccba553c5aed503bc5398eb161.zip
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
-rwxr-xr-xAndroidManifest.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 0062ec717..4b79f35a6 100755
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -346,6 +346,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