6ab72d74b86e5f4ec3c3909366fd46c225a66bd7 |
|
09-Oct-2012 |
Jeff Sharkey <jsharkey@android.com> |
Make RegisteredServicesCache multi-user aware. RegisteredServicesCache is used to track account authenticators and sync adapters, which can vary based on user. This change requires that callers now provide a userId when making cache requests. It continues persisting into a single file for now, which is keyed based on UID. It now watches for package broadcasts from all users, and scans packages on-demand. It changes cache callers to provide a relevant userId, and evicts cache entries when users are stopped. Changes SyncManager to only work with accounts from running users, only kicking off pending syncs once a user is started. Bug: 7276595, 7316150 Change-Id: I79466a84aa69aa37e4bd9691c5d6221d3662ff29
/frameworks/base/core/java/android/accounts/IAccountAuthenticatorCache.java
|
26ff6626fc4ee0ae46f01ad309b366921da589fe |
|
30-Jul-2012 |
Kenny Root <kroot@google.com> |
Delay AccountManagerService initialization Since applications can have Account providers, they need to be delayed until after PackageManagerService says everything is mounted. Otherwise the accounts associated with that provider will be removed immediately when startup happens. Bug: 6820670 Change-Id: Iba81765260421649f706624d0605a40ebc1347b1
/frameworks/base/core/java/android/accounts/IAccountAuthenticatorCache.java
|
56285a60e83138bb4b4f2d3bdec91b2f3ca11aa2 |
|
02-Dec-2010 |
Fred Quintana <fredq@google.com> |
add caching to the AccountManagerService - cache the accounts, userdata and authtokens - make the AccountManagerServiceTest work again - add a log statement for every binder call http://b/issue?id=3188457 Change-Id: I96b94b9b690cf391fe4341e2a72893a6d823777b
/frameworks/base/core/java/android/accounts/IAccountAuthenticatorCache.java
|