summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Sudheer Shanka <sudheersai@google.com> 2022-02-24 03:15:03 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2022-02-24 03:15:03 +0000
commitd6904c7f41041656abb8c536e08f59c11a5a5d58 (patch)
treec0a260fac627bddce13a266b6731f728729b07d9
parent629b6946635cd39a83e2138c9545f831cd9b084e (diff)
parent4ac283889960c9d5f3a5ad4855083a3448996ac7 (diff)
Merge "Update javadoc for recordResponseEventWhileInBackground()." into tm-dev
-rw-r--r--core/java/android/app/BroadcastOptions.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/app/BroadcastOptions.java b/core/java/android/app/BroadcastOptions.java
index e31a56690408..8b3c9fa73798 100644
--- a/core/java/android/app/BroadcastOptions.java
+++ b/core/java/android/app/BroadcastOptions.java
@@ -523,6 +523,8 @@ public class BroadcastOptions extends ComponentOptions {
* Sets whether events (such as posting a notification) originating from an app after it
* receives the broadcast while in background should be recorded as responses to the broadcast.
*
+ * <p> Note that this will only be considered when sending explicit broadcast intents.
+ *
* @param id ID to be used for the response events corresponding to this broadcast. If the
* value is {@code 0} (default), then response events will not be recorded. Otherwise,
* they will be recorded with the ID provided.