Add ACCOUNT_ID to ACCOUNT_COLUMNS and populate it with Email from
EmailProvider. b/16400882 Change-Id: I2765fa6cea392e07b878fe063c7234582a485b1d
This commit is contained in:
parent
ae028b6c70
commit
045aa05777
@ -2748,6 +2748,8 @@ public class EmailProvider extends ContentProvider
|
||||
.add(UIProvider.AccountColumns.NAME, AccountColumns.DISPLAY_NAME)
|
||||
.add(UIProvider.AccountColumns.ACCOUNT_MANAGER_NAME,
|
||||
AccountColumns.EMAIL_ADDRESS)
|
||||
.add(UIProvider.AccountColumns.ACCOUNT_ID,
|
||||
AccountColumns.EMAIL_ADDRESS)
|
||||
.add(UIProvider.AccountColumns.SENDER_NAME,
|
||||
AccountColumns.SENDER_NAME)
|
||||
.add(UIProvider.AccountColumns.UNDO_URI,
|
||||
@ -3639,6 +3641,9 @@ public class EmailProvider extends ContentProvider
|
||||
values[colPosMap.get(UIProvider.AccountColumns.ACCOUNT_MANAGER_NAME)] =
|
||||
getContext().getString(R.string.mailbox_list_account_selector_combined_view);
|
||||
}
|
||||
if (colPosMap.containsKey(UIProvider.AccountColumns.ACCOUNT_ID)) {
|
||||
values[colPosMap.get(UIProvider.AccountColumns.ACCOUNT_ID)] = "Account Id";
|
||||
}
|
||||
if (colPosMap.containsKey(UIProvider.AccountColumns.TYPE)) {
|
||||
values[colPosMap.get(UIProvider.AccountColumns.TYPE)] = "unknown";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user