am 364a8fe9: am 5aeed158: Merge "Added explicit sort order when fetching accounts." into lmp-mr1-dev

* commit '364a8fe9a250093f46581ece2792a3bc7cc06446':
  Added explicit sort order when fetching accounts.
This commit is contained in:
Marvin Paul
2014-12-02 18:54:29 +00:00
committed by Android Git Automerger

View File

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