Commit Graph

41 Commits

Author SHA1 Message Date
Android (Google) Code Review
5fbaefc3d8 Merge change I4db3a5b3 into eclair
* changes:
  fix a javadoc build breakage
2009-10-05 20:22:27 -04:00
Fred Quintana
4db3a5b327 fix a javadoc build breakage 2009-10-05 17:19:03 -07:00
Fred Quintana
89c40f5034 fix a javadoc build breakage 2009-10-05 14:21:53 -07:00
Fred Quintana
f7ae77cd67 account manager api review changes 2009-10-05 11:19:49 -07:00
Costin Manolache
3348f14b3d Remove GAIA string 2009-09-29 22:52:05 -07:00
Jason Parks
1cd7d0e591 Implement the checkin option in AccountManagerService.dump()
When the dump is requested by the checkin server the AccountManagerService will now dump each account type and the number accounts that are registered/active for that account type.
2009-09-29 13:06:10 -07:00
Bryan Mawhinney
5be61f5b3a Make removeOnAccountsUpdateListener cope with null handlers.
Previously, if callers registered OnAccountsUpdateListeners with a null handler,
removeOnAccountsUpdateListener would fail attempting to remove the listener.

Change-Id: If9906d3711f816e60c4b491b7f33671f089ac00f
2009-09-24 14:50:25 +01:00
Jim Miller
50c05f38b3 Delay broadcasting ACCOUNTS_CHANGED until we're certain AndroidId is ready.
Make sure 'nobroadcast' flag doesn't get stored in database.
Update after review.
2009-09-23 16:05:03 -07:00
Fred Quintana
e00a31155b - make an AccountManager per context, not one per process
- enhance the comment for addOnAccountsUpdatedListener()
2009-09-22 15:13:30 -07:00
Fred Quintana
86bd084cf6 do not use transactions for calls that just read the DB 2009-09-17 17:00:01 -07:00
Fred Quintana
3ecd5f4375 - Make the AccountManagerService delete accounts that
have no Authenticator, both when the package is removed
  and when the phone is booted.
- add the ability to register with the RegisteredServicesCache
  to be notified when the set of Authenticators changes.
2009-09-17 15:45:41 -07:00
Fred Quintana
6dfd1382fe remove the signin required notification as when the signin is successful 2009-09-16 17:32:42 -07:00
Eric Fischer
ee452ee535 Combine the "Permission Requested" title and subtitle into one string.
The translators don't get the strings in order, so having a single sentence
split across two strings makes it difficult to get good translations.
2009-09-16 10:33:47 -07:00
Fred Quintana
33f889ae27 change to use the new CALLER_IS_SYNCADAPTER flag 2009-09-14 20:55:43 -07:00
Jim Miller
27844c386e Enable log message for tracking issue #2092299. 2009-09-13 00:02:14 -07:00
Android (Google) Code Review
d3e061fc8f Merge change 24609 into eclair
* changes:
  If disk-full, don't crash the system server. Still todo: when we have disk we should trigger the  event again.
2009-09-11 19:24:44 -04:00
Jim Miller
70e1ad7d99 Add smallIcon and accountPreferences references to AuthenticatorDescription. Update after path conflict.
Update API for new AuthenticatorDescription preferences.xml
2009-09-10 18:10:53 -07:00
Costin Manolache
b6437245c2 If disk-full, don't crash the system server. Still todo: when we have disk we should trigger the event again. 2009-09-10 16:58:40 -07:00
Christian Sonntag
ea6fca8231 fix doc 2009-09-02 17:34:48 -07:00
Christian Sonntag
a9b1a7f6c0 fix doc 2009-09-02 17:23:56 -07:00
jsh
5b462477a9 Fix some sign in errors.
AccountManagerService.SimWatcher was checking if storedImsi = "initial"
instead of null as an initial condition.  Also, on NV-only CDMA devices
we were only sending SIM_STATE_CHANGED notifications when the radio
powered down, which meant storedImsi was only initialized if the radio
powered down.
2009-09-01 16:13:55 -07:00
Fred Quintana
c298a8518a add an accessor for Context for use by subclasses 2009-08-27 20:02:10 -07:00
Fred Quintana
7be5964e74 - make it ok to modify the accounts before boot
- allow packages in the system image to access any authtokens they wish
2009-08-24 19:35:52 -07:00
Dianne Hackborn
4a51c20ce6 I am getting tired of the java doc warnings, so fix them.
Change-Id: I2205eebae419eaf4a0992c9f5b7cd807eb843fe1
2009-08-24 17:37:32 -07:00
Fred Quintana
ffd0cb04f9 do not merge: cherrypicked 3710f39096 from master branch 2009-08-15 22:40:25 -07:00
Fred Quintana
d4a1d2e142 add account manager permission checking 2009-07-23 16:03:54 -07:00
Fred Quintana
ae4f31706f - add the DIRTY and VERSION columns to the ContactsProvider2 Groups contract
- make android.accounts.AccountAuthenticator into a public constant
2009-07-14 11:57:09 -07:00
Fred Quintana
0f4e1ab773 - remove an un-needed constant
- add a content provider helper that manages a table for storing sync state by account
- add contact definitions to Contacts access the sync state
2009-07-13 16:02:09 -07:00
Fred Quintana
8b81160054 add a new error code ERROR_CODE_BAD_REQUEST 2009-06-25 13:49:17 -07:00
Fred Quintana
9788976b14 add icon and label to the authenticator description 2009-06-15 15:57:30 -07:00
Fred Quintana
718d8a2d7f decouple SyncAdapter from ContentProvider 2009-04-30 17:28:09 -07:00
Fred Quintana
0eabf0228a change the IsolatedContext to have a test version of the AccountManager that has no IBinder to the AccountManagerService. 2009-04-27 15:08:17 -07:00
Fred Quintana
d9d2f1140b change the sync framework and users to understand Account 2009-04-23 15:37:45 -07:00
Fred Quintana
3326920329 adding concept of features to accounts 2009-04-20 16:06:02 -07:00
Fred Quintana
26fc5eba50 AI 145535: reenable the signin notifications
the system process has permissions to control this
  notification but the caller doesn't do we need to call
  clearCallerIdentity() before manipulating the notification
  BUG=1778648

Automated import of CL 145535
2009-04-09 15:05:50 -07:00
Fred Quintana
a698f42769 AI 145177: phase two of the AccountManager
- added an AccountManagerActivity, a base Activity that can be
  used by activities that are launched by AccountAuthenticator
  intents. This makes it easy for an Activity to send a result
  using an AccountAuthenticatorResponse
  - added debug strings to the AccountAuthenticatorCache
  - improved the API for the AccountAuthenticatorResponse and
  made it Parcelable so that it can be passed to an Activity
  via an Intent
  - changed the AccountManager to use Futures for the
  asynchronous calls and to notify the user via a callback
  when the request is complete
  - changed the AccountManager to convert any errors that are
  returned into Exceptions
  - added constants for the error codes that are passed across
  the IAccountManagerResponse and
  IAccountAuthenticatorResponse interfaces
  - added a dump() method to the AccountManagerService so that
  it can display the list of active sessions and registered
  authenticators
  - added an way to interrogate the AccountManagerService for
  the list of registered authenticators
  - removed more methods from the GoogleLoginServiceHelper and
  GoogleLoginServiceBlockingHelper and changed the callers to
  use the AccountManager

Automated import of CL 145177
2009-04-08 19:14:54 -07:00
Fred Quintana
603073430b Automated import from //branches/master/...@142414,142414 2009-03-24 22:48:12 -07:00
The Android Open Source Project
9066cfe988 auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
The Android Open Source Project
d83a98f4ce auto import from //depot/cupcake/@135843 2009-03-03 18:28:45 -08:00
The Android Open Source Project
f013e1afd1 Code drop from //branches/cupcake/...@124589 2008-12-17 18:05:43 -08:00
The Android Open Source Project
54b6cfa9a9 Initial Contribution 2008-10-21 07:00:00 -07:00