1. 30 May, 2022 21 commits
  2. 26 May, 2022 7 commits
  3. 23 May, 2022 6 commits
  4. 24 May, 2022 6 commits
    • Support custom actions with DefaultMediaNotificationProvider · 8d03fdfe
      Refactors the DefaultMediaNotificationProvider by separating the
      selection of actions and building the notification with it.
      
      The custom commands of the custom layout of the session are turned
      into notification actions and when received from the notification
      converted back to custom session commands that are sent to the
      session.
      
      PiperOrigin-RevId: 450404350
      bachinger committed
    • Reorder demo samples · 0fa07359
      Put cloud storage samples at the top to avoid having a sample at the top of the list where we don't control the server.
      
      Also update labels not to mention progressive container type, as it's irrelevant for Transformer, which always transmuxes even if it doesn't transcode.
      
      #ame-bug-week
      
      PiperOrigin-RevId: 450403784
      andrewlewis committed
    • Implement onSubscribe in session demo service · 08fc89a5
      Immediately notify a subscribing client about the availability of child items of
      a parent ID to make the client load the children.
      
      PiperOrigin-RevId: 450396690
      bachinger committed
    • Remove `@Nullable` from some `Dash/Hls/SsMediaSource.Factory` methods · 07039a45
      The null-behaviour of these methods creates a minimization footgun,
      because **any** call to these setters will prevent R8 from removing
      the default implementation (even if it's never used by the app) - this
      is because R8 can't tell the default implementation is only used if the
      parameter is `null`.
      
      Follow-up to https://github.com/androidx/media/commit/07302a23bd5894d57514c68b2db499ac46726e77
      
      PiperOrigin-RevId: 450395941
      ibaker committed
    • Remove `@Nullable` from `MediaSource.Factory` setters · 07302a23
      The null-behaviour of these methods creates a minimization footgun,
      because **any** call to these setters will prevent R8 from removing
      the default implementation (even if it's never used by the app) - this
      is because R8 can't tell the default implementation is only used if the
      parameter is `null`.
      
      PiperOrigin-RevId: 450386627
      ibaker committed
    • Remove 5G-NSA detection on API 29/30. · 38b13388
      This detection relies on an unsupported workaround and may trigger
      permission warnings in tools analyzing permission usage although
      no permission is needed or requested by app code.
      
      Given the majority of 5G-NSA playbacks are on API 31+ by now,
      we can remove this path to avoid the permission confusion and the
      unsupported detection workaround.
      
      PiperOrigin-RevId: 450382586
      tonihei committed