Skip to content

Commit

Permalink
Don't clear audioSessionId when audio disabled
Browse files Browse the repository at this point in the history
Issue: #8585
#minor-release
PiperOrigin-RevId: 357553237
  • Loading branch information
ojw28 authored and kim-vde committed Feb 19, 2021
1 parent 1b6dd40 commit f52e4be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
* Add support for MP4 and QuickTime meta atoms that are not full atoms.
* UI:
* Add builder for `PlayerNotificationManager`.
* Audio:
* Fix `SimpleExoPlayer` reporting audio session ID as 0 in some cases
([#8585](https://github.com/google/ExoPlayer/issues/8585)).
* Library restructuring:
* `DebugTextViewHelper` moved from `ui` package to `util` package.
* Spherical UI components moved from `video.spherical` package to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2140,7 +2140,6 @@ public void onAudioDisabled(DecoderCounters counters) {
analyticsCollector.onAudioDisabled(counters);
audioFormat = null;
audioDecoderCounters = null;
audioSessionId = C.AUDIO_SESSION_ID_UNSET;
}

@Override
Expand Down

0 comments on commit f52e4be

Please sign in to comment.