diff options
| author | Dmitry Dementyev <dementyev@google.com> | 2017-04-25 17:22:30 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2017-04-25 17:22:34 +0000 |
| commit | 257ba8946e9dfec20a5ee1b757be5160a92269c1 (patch) | |
| tree | 1a582934478f4ba1f1cc7eceaf6e9075ab0ca139 /core/java/android | |
| parent | efb859f2af21bcc4844274663ce4bf6eddc09c57 (diff) | |
| parent | b6a7dc033ceb11df2d4e95dc1bb272362332e557 (diff) | |
Merge "Update PACKAGE_REMOVED broadcast." into oc-dev
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/accounts/AccountManager.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/core/java/android/accounts/AccountManager.java b/core/java/android/accounts/AccountManager.java index b320d5d83cc7..06b09c041f1f 100644 --- a/core/java/android/accounts/AccountManager.java +++ b/core/java/android/accounts/AccountManager.java @@ -345,7 +345,13 @@ public class AccountManager { "android.accounts.LOGIN_ACCOUNTS_CHANGED"; /** - * Action sent as a broadcast Intent by the AccountsService when any account is removed. + * Action sent as a broadcast Intent by the AccountsService when any account is removed + * or renamed. Only applications which were able to see the account will receive the intent. + * Intent extra will include the following fields: + * <ul> + * <li> {@link #KEY_ACCOUNT_NAME} - the name of the removed account + * <li> {@link #KEY_ACCOUNT_TYPE} - the type of the account + * </ul> */ @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION) @BroadcastBehavior(includeBackground = true) |
