1. 24 Sep, 2021 6 commits
    • IMA sdk request input serialization/deserialization · a9867880
      temporary pulled out from the main cl to keep code small for review
      
      PiperOrigin-RevId: 398746806
      olly committed
    • Rename MediaItem.PlaybackProperties to LocalConfiguration · 0cd1031d
      This aligns with other MediaItem.FooConfiguration class names and also
      more clearly represents that this class encapsulates information used
      for local playback that is lost when serializing MediaItem between
      processes.
      
      The old class and fields are kept (deprecated) for backwards
      compatibility.
      
      PiperOrigin-RevId: 398742708
      ibaker committed
    • Update DownloadService for Android 12 · a720380e
      - If DownloadService is configured to run as a foreground service,
        it will remain started and in the foreground when downloads are
        waiting for requirements to be met, with a suitable "waiting for
        XYZ" message in the notification. This is necessary because new
        foreground service restrictions in Android 12 prevent to service
        from being restarted from the background.
      - Cases where requirements are not supported by the Scheduler will
        be handled in the same way, even on earlier versions of Android.
        So will cases where a Scheduler is not provided.
      - The Scheduler will still be used on earlier versions of Android
        where possible.
      
      Note: We could technically continue to use the old behavior on
      Android 12 in cases where the containing application still has a
      targetSdkVersion corresponding to Android 11 or earlier. However,
      in practice, there seems to be little value in doing this.
      PiperOrigin-RevId: 398720114
      olly committed
    • Make parameter name match inherited doc @param · fecb8b7e
      This is currently required to make javadoc generation via Dackka succeed.
      
      PiperOrigin-RevId: 398518538
      andrewlewis committed
    • Fix gradle sync error · 7f99d301
      PiperOrigin-RevId: 398489644
      gyumin committed
    • Upgrade dackka · aefe0243
      This brings in a fix that prevented documentation generation due to `<caption>` tags not being supported.
      
      PiperOrigin-RevId: 398475800
      andrewlewis committed
  2. 23 Sep, 2021 12 commits
  3. 22 Sep, 2021 2 commits
  4. 21 Sep, 2021 7 commits
  5. 20 Sep, 2021 9 commits
  6. 17 Sep, 2021 4 commits
    • Make README structure match the desired androidx structure · 0f0e11aa
      PiperOrigin-RevId: 397319051
      kimvde committed
    • Support RFC4566 SDP attribute. · fd6a6ec8
      Issue: #9430
      
      The current supported SDP (RFC2327) spec only allows for alpha-numeric
      characters in the attribute-field. RFC4566 (section 9, token type) allowed
      extra characters, and this CL adds the support.
      
      PiperOrigin-RevId: 397301173
      claincly committed
    • Improve AdtsExtractor#sniff when trying different sync word offsets · 5f3953d3
      The previous implementation did the following (after skipping any ID3
      headers at the start of the stream):
      1. Skip forward byte-by-byte looking for a sync word (0xFFF)
      2. Assume this indicates the start of an ADTS frame and read the size
        a) If frameSize <= 6 immediately return false
      3. Skip forward by frameSize and expect to find another ADTS sync word
         (with no further scanning).
         b) If we find one, great! Loop from step 2.
         a) If we don't find one then assume the **last** sync word we found
            wasn't actually one, so loop from step 1 starting one extra byte
            into the stream. This means we're looking for a sync word we would
            have skipped over in step 3.
      
      The asymmetry here comes from the different handling of frameSize <= 6
      (immediately return false) and frameSize being 'wrong because it doesn't
      lead to another sync word' (scan the file again from the beginning for
      alternative sync words).
      
      With this change both these cases are handled symmetrically (always scan
      for alternative sync words). Step 2a) becomes the same as 3b): Loop back
      to the beginning of the stream with an incremented offset and scan for
      another sync word.
      
      #minor-release
      
      PiperOrigin-RevId: 397285756
      ibaker committed
    • Fix documention for specifying a custom exolist.json · 8d01d66a
      Issue: #9437
      #minor-release
      PiperOrigin-RevId: 397273931
      olly committed