From f1284d4d550230a4e13247a9513f03a7f3fd2347 Mon Sep 17 00:00:00 2001 From: Alice Yang Date: Wed, 7 Aug 2013 08:31:29 -0700 Subject: [PATCH] Sync disabled tip Bug 9825835 Change-Id: I5fd692c7cd8a03d3b8ea140f2d6e8919bd293904 --- src/com/android/email/provider/EmailProvider.java | 3 +++ 1 file changed, 3 insertions(+) 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 + "=?");