From 076ab7300b301ee4cb52b6ca4adf85f1900b6e3b Mon Sep 17 00:00:00 2001 From: Nate Myren Date: Wed, 17 Mar 2021 08:55:05 -0700 Subject: Clarify AudioRecord.Builder.setContext documentation Fixes: 182945070 Test: none Change-Id: I127b3633f2deac03116321a115adfa50583a00be --- media/java/android/media/AudioRecord.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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. */ -- cgit v1.2.3-59-g8ed1b