Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 29eaccdc authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Clarify AAudio.h method documentation" into sc-dev am: 1ba66b4f am: 9901d051

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/av/+/14647827

Change-Id: Ic98bfd7bed4fbdf034841e2b935a5dadf855e616
parents b355b317 9901d051
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -635,13 +635,14 @@ AAUDIO_API aaudio_result_t AAudio_createStreamBuilder(AAudioStreamBuilder** buil
AAUDIO_API void AAudioStreamBuilder_setDeviceId(AAudioStreamBuilder* builder,
                                                int32_t deviceId) __INTRODUCED_IN(26);

// TODO b/182392769: reexamine if Identity can be used
/**
 * Declare the name of the package creating the stream.
 *
 * This is usually {@code Context#getPackageName()}.
 *
 * The default, if you do not call this function, is a random package in the calling uid.
 * The vast majority of apps have only one package per calling UID. If the package
 * name does not match the calling UID, then requests will be rejected.
 *
 * Available since API level 31.
 *
@@ -656,7 +657,7 @@ AAUDIO_API void AAudioStreamBuilder_setPackageName(AAudioStreamBuilder* builder,
 *
 * This is usually {@code Context#getAttributionTag()}.
 *
 * The default, if you do not call this function, is the default attribution tag.
 * The default, if you do not call this function, is null.
 *
 * Available since API level 31.
 *