1. 07 Feb, 2022 9 commits
    • Add TYPE_USE to 'frequently used' IntDefs in a backwards-compatible way · 2522815d
      This ensures Kotlin usages of these IntDef annotations in the 'old'
      position will continue to compile.
      
      'Frequently used' is a subjective judgement. I have a parallel change
      that marks all the other public IntDefs in the library as TYPE_USE
      (those that I've judged to be 'rarely used' by apps).
      
      A follow-up change will fix the positions of existing usages to be as if
      they're only TYPE_USE.
      
      #minor-release
      
      PiperOrigin-RevId: 426427334
      ibaker committed
    • Mark all public 'rarely used' IntDefs as only TYPE_USE · 01c814e2
      This is a breaking change if the annotation itself is in use in Kotlin
      code. It's judged that the IntDefs in this commit are unlikely to be
      referred to often in Kotlin code. This is because they're either:
      - Related to esoteric parts of the library, or
      - In a common part of the library but only returned from methods (and
        never passed to callback methods).
      
      A follow-up change will fix the positions of existing usages to match
      this new config.
      
      #minor-release
      
      PiperOrigin-RevId: 426410237
      ibaker committed
    • Make @LogLevel public and TYPE_USE · 8554ae5a
      #minor-release
      
      PiperOrigin-RevId: 426410137
      ibaker committed
    • Mark @C.SelectionReason as TYPE_USE (only) and use it in more places · 6fc5f980
      This is not backwards compatible if the @SelectionReason annotation is
      used in Kotlin code, but before this change there aren't many library
      surfaces that return a value annotated with @SelectionReason, so it
      seems relatively unlikely that it is in use in any/many apps.
      
      A follow-up change will fix the positions of existing usages to match
      this new config.
      
      #minor-release
      
      PiperOrigin-RevId: 426409877
      ibaker committed
    • Move @AudioFocusGain from C to AudioFocusManager and make it private · 0e856402
      This is only used inside AudioFocusManager, it doesn't need to public.
      
      Also mark it TYPE_USE and update the position to match.
      
      #minor-release
      
      PiperOrigin-RevId: 426407790
      ibaker committed
    • Remove @C.AudioManagerOffloadMode IntDef · 14f9d9c6
      This is only used in DefaultAudioSink, so we could move it there and
      make it private - but at that point we might as well refer to the
      underlying AudioManager constants instead.
      
      #minor-release
      
      PiperOrigin-RevId: 426407661
      ibaker committed
    • Reshuffle the 'legacy' attrs.xml and drawables.xml files · 0bf21f2e
      Keep values related to LegacyPlayerView in attrs_legacy_player_view.xml
      and put all values related to LegacyPlayerControlView back in their
      original locations. We plan to remove LegacyPlayerView (and
      attrs_legacy_player_view.xml) from media3, but will keep
      LegacyPlayerControlView - so the separation of the XML files needs to
      reflect this split.
      
      #minor-release
      
      PiperOrigin-RevId: 426406973
      ibaker committed
    • Disable fallback in tests that don't test fallback. · b3476e44
      Fallback is only disabled for robolectric and instrumentation tests.
      For MH tests, fallback is not disabled, as it may be needed due to
      the broad range of devices available.
      
      PiperOrigin-RevId: 426403167
      hschlueter committed
    • Support relative MPD.Location URIs · 24749339
      #minor-release
      Issue: google/ExoPlayer#9939
      PiperOrigin-RevId: 426394339
      olly committed
  2. 04 Feb, 2022 25 commits
  3. 01 Feb, 2022 6 commits