summaryrefslogtreecommitdiffstats
path: root/provider_src/com/android/email/provider/DBHelper.java
diff options
context:
space:
mode:
Diffstat (limited to 'provider_src/com/android/email/provider/DBHelper.java')
-rw-r--r--provider_src/com/android/email/provider/DBHelper.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/provider_src/com/android/email/provider/DBHelper.java b/provider_src/com/android/email/provider/DBHelper.java
index b5255ac2b..18a4548fe 100644
--- a/provider_src/com/android/email/provider/DBHelper.java
+++ b/provider_src/com/android/email/provider/DBHelper.java
@@ -524,7 +524,7 @@ public final class DBHelper {
+ AccountColumns.SIGNATURE + " text, "
+ AccountColumns.POLICY_KEY + " integer, "
+ AccountColumns.MAX_ATTACHMENT_SIZE + " integer, "
- + AccountColumns.PING_DURATION + " integer"
+ + AccountColumns.PING_DURATION + " integer, "
+ AccountColumns.AUTO_FETCH_ATTACHMENTS + " integer"
+ ");";
db.execSQL("create table " + Account.TABLE_NAME + s);
@@ -1561,6 +1561,12 @@ public final class DBHelper {
+ mContext.getString(R.string.protocol_imap) + "' or "
+ HostAuth.TABLE_NAME + "." + HostAuthColumns.PROTOCOL + "='imap'));");
}
+
+ // Due to a bug in commit 44a064e5f16ddaac25f2acfc03c118f65bc48aec,
+ // AUTO_FETCH_ATTACHMENTS column could not be available in the Account table.
+ // Since cm12 and up doesn't use this column, we are leave as is it. In case
+ // the feature were added, then we need to create a new exception to ensure
+ // that the columns is re-added.
}
@Override