Loading media/java/android/media/AudioTrack.java +1 −1 Original line number Diff line number Diff line Loading @@ -1519,7 +1519,7 @@ public class AudioTrack } private boolean isRestricted() { if ((mAttributes.getFlags() & AudioAttributes.FLAG_BYPASS_INTERRUPTION_POLICY) != 0) { if ((mAttributes.getAllFlags() & AudioAttributes.FLAG_BYPASS_INTERRUPTION_POLICY) != 0) { return false; } try { Loading media/java/android/media/MediaPlayer.java +1 −1 Original line number Diff line number Diff line Loading @@ -1757,7 +1757,7 @@ public class MediaPlayer implements SubtitleController.Listener throw new IllegalArgumentException(msg); } mUsage = attributes.getUsage(); mBypassInterruptionPolicy = (attributes.getFlags() mBypassInterruptionPolicy = (attributes.getAllFlags() & AudioAttributes.FLAG_BYPASS_INTERRUPTION_POLICY) != 0; Parcel pattributes = Parcel.obtain(); attributes.writeToParcel(pattributes, AudioAttributes.FLATTEN_TAGS); Loading media/java/android/media/SoundPool.java +1 −1 Original line number Diff line number Diff line Loading @@ -463,7 +463,7 @@ public class SoundPool { } private boolean isRestricted() { if ((mAttributes.getFlags() & AudioAttributes.FLAG_BYPASS_INTERRUPTION_POLICY) != 0) { if ((mAttributes.getAllFlags() & AudioAttributes.FLAG_BYPASS_INTERRUPTION_POLICY) != 0) { return false; } try { Loading Loading
media/java/android/media/AudioTrack.java +1 −1 Original line number Diff line number Diff line Loading @@ -1519,7 +1519,7 @@ public class AudioTrack } private boolean isRestricted() { if ((mAttributes.getFlags() & AudioAttributes.FLAG_BYPASS_INTERRUPTION_POLICY) != 0) { if ((mAttributes.getAllFlags() & AudioAttributes.FLAG_BYPASS_INTERRUPTION_POLICY) != 0) { return false; } try { Loading
media/java/android/media/MediaPlayer.java +1 −1 Original line number Diff line number Diff line Loading @@ -1757,7 +1757,7 @@ public class MediaPlayer implements SubtitleController.Listener throw new IllegalArgumentException(msg); } mUsage = attributes.getUsage(); mBypassInterruptionPolicy = (attributes.getFlags() mBypassInterruptionPolicy = (attributes.getAllFlags() & AudioAttributes.FLAG_BYPASS_INTERRUPTION_POLICY) != 0; Parcel pattributes = Parcel.obtain(); attributes.writeToParcel(pattributes, AudioAttributes.FLATTEN_TAGS); Loading
media/java/android/media/SoundPool.java +1 −1 Original line number Diff line number Diff line Loading @@ -463,7 +463,7 @@ public class SoundPool { } private boolean isRestricted() { if ((mAttributes.getFlags() & AudioAttributes.FLAG_BYPASS_INTERRUPTION_POLICY) != 0) { if ((mAttributes.getAllFlags() & AudioAttributes.FLAG_BYPASS_INTERRUPTION_POLICY) != 0) { return false; } try { Loading