Merge "Added explicit sort order when fetching accounts." into lmp-mr1-dev

This commit is contained in:
Marvin Paul
2014-12-02 18:36:30 +00:00
committed by Android (Google) Code Review

View File

@@ -390,7 +390,7 @@ public class AccountManagerService
boolean accountDeleted = false;
Cursor cursor = db.query(TABLE_ACCOUNTS,
new String[]{ACCOUNTS_ID, ACCOUNTS_TYPE, ACCOUNTS_NAME},
null, null, null, null, null);
null, null, null, null, ACCOUNTS_ID);
try {
accounts.accountCache.clear();
final HashMap<String, ArrayList<String>> accountNamesByType =