1. 10 Dec, 2021 9 commits
  2. 07 Dec, 2021 30 commits
  3. 02 Dec, 2021 1 commit
    • Prohibit duplicate TrackGroups in TrackGroupArray · 417c2426
      Allowing duplicate groups caused some other code working with the
      array to use reference equality comparison. This is error-prone,
      easily forgotten (e.g. when using the TrackGroups in a map) and
      causes bugs when TrackGroups are serialized to disk or to another
      process.
      
      All TrackGroups created by ExoPlayer are already unique and custom
      code creating TrackGroupArrays with identical groups can easily
      distringuish them by adding an id to each group.
      
      Issue: google/ExoPlayer#9718
      PiperOrigin-RevId: 413617005
      tonihei committed