summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Nate Myren <ntmyren@google.com> 2021-03-17 08:55:05 -0700
committer Nate Myren <ntmyren@google.com> 2021-03-17 08:55:05 -0700
commit076ab7300b301ee4cb52b6ca4adf85f1900b6e3b (patch)
tree0a99a7d17269515108048b1ccaba806e5a17bb06
parent8dc4ecd2c839247a44be41b47eebe415e813725a (diff)
Clarify AudioRecord.Builder.setContext documentation
Fixes: 182945070 Test: none Change-Id: I127b3633f2deac03116321a115adfa50583a00be
-rw-r--r--media/java/android/media/AudioRecord.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/media/java/android/media/AudioRecord.java b/media/java/android/media/AudioRecord.java
index d7112d6dfa63..0d613992f300 100644
--- a/media/java/android/media/AudioRecord.java
+++ b/media/java/android/media/AudioRecord.java
@@ -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.
*/