mirror of
https://github.com/samsonjs/media.git
synced 2026-04-09 11:55:46 +00:00
Verify application thread when setting handle audio becoming noisy.
PiperOrigin-RevId: 276491102
This commit is contained in:
parent
d898122ec5
commit
bcf46431dd
1 changed files with 1 additions and 0 deletions
|
|
@ -777,6 +777,7 @@ public class SimpleExoPlayer extends BasePlayer
|
|||
* @param handleAudioBecomingNoisy True if the player should handle audio becoming noisy.
|
||||
*/
|
||||
public void setHandleAudioBecomingNoisy(boolean handleAudioBecomingNoisy) {
|
||||
verifyApplicationThread();
|
||||
audioBecomingNoisyManager.setEnabled(handleAudioBecomingNoisy);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue