diff --git a/src/com/android/email/provider/EmailProvider.java b/src/com/android/email/provider/EmailProvider.java index 8f2b22db5..68cd713a4 100644 --- a/src/com/android/email/provider/EmailProvider.java +++ b/src/com/android/email/provider/EmailProvider.java @@ -2630,6 +2630,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 + "=?");