Fix account order.

The combined account is added both at the top and the bottom
currently: Check L.3103 of EmailProvider.java.

Bug: 7100404 Order of accounts in email is broken

Change-Id: I1cbff04efbb0b50630c655918ffdfa4a5d11c2f7
This commit is contained in:
Vikram Aggarwal 2012-09-22 16:08:11 -07:00
parent 114e314968
commit 016310a054

View File

@ -3088,9 +3088,6 @@ outer:
new MatrixCursorWithExtra(uiProjection, accountIdCursor.getCount(), extras);
Object[] values = new Object[uiProjection.length];
try {
if (combinedAccount) {
addCombinedAccountRow(mc);
}
while (accountIdCursor.moveToNext()) {
String id = accountIdCursor.getString(0);
Cursor accountCursor =