Fix crash issue when trying to setup an IMAP/POP3 account

Fix crash issue when trying to setup an IMAP/POP3
account. Issue 78699.

Change-Id: I6a09cf27d83edc17495bb1ab20a10e6994cf5506
Signed-off-by: HUANG Menghuai <menghuai.huange@orange.com>
This commit is contained in:
hmh 2015-01-28 15:21:37 +08:00 committed by Steve Kondik
parent 6ad7266164
commit fb2b538c54
3 changed files with 5 additions and 5 deletions

View File

@ -80,7 +80,7 @@
android:name=".EmailApplication"
android:icon="@mipmap/ic_launcher_mail"
android:label="@string/app_name"
android:requiredAccountType="com.android.exchange,com.android.email"
android:requiredAccountType="com.android.exchange,com.android.email.imap,com.android.email.pop3,com.android.email.legacy.imap"
android:theme="@style/UnifiedEmailTheme"
android:hardwareAccelerated="true"
android:allowBackup="false"

View File

@ -645,9 +645,9 @@
<string name="email_feedback_uri" translatable="false"></string>
<string name="account_manager_type_exchange" translatable="false">com.android.exchange</string>
<string name="account_manager_type_pop3" translatable="false">com.android.email</string>
<string name="account_manager_type_imap" translatable="false">com.android.email</string>
<string name="account_manager_type_legacy_imap" translatable="false">com.android.email</string>
<string name="account_manager_type_pop3" translatable="false">com.android.email.pop3</string>
<string name="account_manager_type_imap" translatable="false">com.android.email.imap</string>
<string name="account_manager_type_legacy_imap" translatable="false">com.android.email.legacy.imap</string>
<string name="intent_exchange_action" translatable="false">com.android.email.EXCHANGE_INTENT</string>
<string name="intent_exchange_cert_action" translatable="false">com.android.email.EXCHANGE_REQUEST_CERT</string>
<string name="intent_exchange_package" translatable="false">com.android.exchange</string>

View File

@ -70,7 +70,7 @@
<emailservice
email:protocol="imap"
email:name="@string/imap_name"
email:accountType="@string/account_manager_type_imap"
email:accountType="@string/account_manager_type_legacy_imap"
email:serviceClass="com.android.email.service.ImapService"
email:port="143"
email:portSsl="993"