diff --git a/src/com/android/email/provider/EmailProvider.java b/src/com/android/email/provider/EmailProvider.java index f710be736..cef470958 100644 --- a/src/com/android/email/provider/EmailProvider.java +++ b/src/com/android/email/provider/EmailProvider.java @@ -2638,6 +2638,9 @@ public class EmailProvider extends ContentProvider { values.put(UIProvider.AccountColumns.SettingsColumns.MOVE_TO_INBOX, uiUriString("uifolder", inboxMailboxId)); } + if (projectionColumns.contains(UIProvider.AccountColumns.SYNC_AUTHORITY)) { + values.put(UIProvider.AccountColumns.SYNC_AUTHORITY, EmailContent.AUTHORITY); + } final StringBuilder sb = genSelect(getAccountListMap(getContext()), uiProjection, values); sb.append(" FROM " + Account.TABLE_NAME + " WHERE " + AccountColumns.ID + "=?");