Merge "AudioAttributes FLAG_AUDIBILITY_ENFORCED javadoc update" am: 5e996722d9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1753049 Change-Id: I758d0b00d876631bf3464a21787c3d766d7c18a0
This commit is contained in:
@@ -335,6 +335,10 @@ public final class AudioAttributes implements Parcelable {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Flag defining a behavior where the audibility of the sound will be ensured by the system.
|
* Flag defining a behavior where the audibility of the sound will be ensured by the system.
|
||||||
|
* To ensure sound audibility, the system only uses built-in speakers or wired headphones
|
||||||
|
* and specifically excludes wireless audio devices.
|
||||||
|
* <p>Note this flag should only be used for sounds subject to regulatory behaviors in some
|
||||||
|
* countries, such as for camera shutter sound, and not for routing behaviors.
|
||||||
*/
|
*/
|
||||||
public final static int FLAG_AUDIBILITY_ENFORCED = 0x1 << 0;
|
public final static int FLAG_AUDIBILITY_ENFORCED = 0x1 << 0;
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user