Merge "Update javadoc for recordResponseEventWhileInBackground()." into tm-dev

This commit is contained in:
Sudheer Shanka
2022-02-24 03:15:03 +00:00
committed by Android (Google) Code Review

View File

@@ -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.