1. 21 Oct, 2021 3 commits
    • Fix 2 ErrorProneStyle findings: · bffe2f7b
      * @Reason is not a TYPE_USE annotation, so should appear before any modifiers and after Javadocs.
        (see go/java-style#s4.8.5-annotations)
      * Curly braces should be used for inline Javadoc tags: {@code ...}
        (see http://go/bugpattern/InvalidInlineTag)
      
      This CL looks good? Just LGTM and Approve it!
      This CL doesn’t look good? This is what you can do:
      * Revert this CL, by replying "REVERT: <provide reason>"
      * File a bug under go/error-prone-bug for category ErrorProneStyle if the change looks generally problematic.
      * Revert this CL and not get a CL that cleans up these paths in the future by
      replying "BLOCKLIST: <provide reason>". This is not reversible! We recommend to
      opt out the respective paths in your CL Robot configuration instead:
      go/clrobot-opt-out.
      
      This CL was generated by CL Robot - a tool that cleans up code findings
      (go/clrobot). The affected code paths have been enabled for CL Robot in //depot/google3/java/com/google/android/libraries/media/METADATA which is reachable following include_presubmits from //depot/google3/third_party/java_src/android_libs/media/METADATA.
      Anything wrong with the signup? File a bug at go/clrobot-bug.
      
      #codehealth
      
      PiperOrigin-RevId: 404769260
      olly committed
    • DefaultMediaSourceFactory: Lazily load media source factories · bbe2cef7
      Th purpose of this change is to speed up the instantiation of the
      DefaultMediaSourceFactory.
      
      PiperOrigin-RevId: 404665352
      christosts committed
    • Move SimpleExoPlayer.Builder logic to ExoPlayer.Builder. · 140ef753
      SimpleExoPlayer Builder now wraps an ExoPlayer.Builder, rather than the
      other way round.
      
      PiperOrigin-RevId: 404509106
      samrobinson committed
  2. 20 Oct, 2021 3 commits
  3. 19 Oct, 2021 3 commits
  4. 18 Oct, 2021 15 commits
  5. 15 Oct, 2021 4 commits
    • Rename DrmConfiguration.sessionForClearTypes to forcedSessionTrackTypes · 61c8f8c2
      The previous name is quite easy to misread because it sounds like it
      splits up like "(session) for (clear types)" when it's meant to be
      "(session for clear) (types)".
      
      The old field is left deprecated for backwards compatibility. The
      DrmConfiguration.Builder methods are directly renamed without
      deprecation because they're not yet present in a released version of
      the library.
      
      PiperOrigin-RevId: 403338799
      ibaker committed
    • Remove deprecated ControlDispatcher · 5ef00f0e
      The possibilities to set a ControlDispatcher have been removed in
      <unknown commit> so that the ControlDispatcher is always a
      DefaultControlDispatcher.
      
      PiperOrigin-RevId: 403327092
      kimvde committed
    • Update androidx.media version to 1.4.3 · bc1b2dae
      It fixes the issue that the library injects an intent query element to
      app's AndroidManifest.xml by updating the dependency on androidx.media.
      Please refer to the release note of androidx.media 1.4.3 for details.
      https://developer.android.com/jetpack/androidx/releases/media#media-1.4.3
      
      Issue: #9480
      #minor-release
      PiperOrigin-RevId: 403243445
      gyumin committed
    • Move upstream components to common · 6ef82e44
      Common houses DataSource as an interface for reading data,
      but most of the concrete implementations are in ExoPlayer.
      This means that in practice, if an app wants to use a module
      that reads using DataSource (e.g. extractor), they may be
      forced to depend on ExoPlayer as well to get a concrete
      implementation (e.g. FileDataSource). This change moves the
      DataSource implementations into common to resolve this.
      
      PiperOrigin-RevId: 403222081
      olly committed
  6. 14 Oct, 2021 12 commits