Adds missing per-user calls for displaying and syncing accounts

Bug: 15466880
Change-Id: Ifa96af782adc8485f925dc45d5c71b1c28a075d2
This commit is contained in:
Alexandra Gherghina
2014-07-01 15:24:45 +01:00
parent 1eb3f316bd
commit 024ba5e4d9
2 changed files with 6 additions and 4 deletions

View File

@@ -174,7 +174,7 @@ final public class AuthenticatorHelper extends BroadcastReceiver {
// See http://b/15819268
updateAuthDescriptions(mContext);
if (accounts == null) {
accounts = AccountManager.get(mContext).getAccounts();
accounts = AccountManager.get(mContext).getAccountsAsUser(mUserHandle.getIdentifier());
}
mEnabledAccountTypes.clear();
mAccTypeIconCache.clear();