Merge "Clarify AudioRecord.Builder.setContext documentation" into sc-dev

This commit is contained in:
Nate Myren
2021-03-19 19:42:31 +00:00
committed by Android (Google) Code Review

View File

@@ -612,7 +612,9 @@ public class AudioRecord implements AudioRouting, MicrophoneDirection,
}
/**
* Sets the context the record belongs to.
* Sets the context the record belongs to. This context will be used to pull information,
* such as attribution tags, which will be associated with the AudioRecord. However, the
* context itself will not be retained by the AudioRecord.
* @param context a non-null {@link Context} instance
* @return the same Builder instance.
*/