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

Commit dc5952ff authored by Irmak Eliaçık's avatar Irmak Eliaçık Committed by Automerger Merge Worker
Browse files

Merge "AudioAttributes FLAG_AUDIBILITY_ENFORCED javadoc update" am: 5e996722...

Merge "AudioAttributes FLAG_AUDIBILITY_ENFORCED javadoc update" am: 5e996722 am: 08917d0d am: d129a2f6

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1753049

Change-Id: I5310988b9cfc190a029a8a634e767c10c4ffe25f
parents 91a0551e d129a2f6
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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.
     * 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;
    /**