1. 21 Apr, 2021 19 commits
  2. 20 Apr, 2021 7 commits
  3. 19 Apr, 2021 9 commits
  4. 16 Apr, 2021 5 commits
    • Update release notes · 19c267b1
      PiperOrigin-RevId: 368822503
      bachinger committed
    • Make surfaceView non-clickable · 33f3e5fc
      PiperOrigin-RevId: 368818853
      olly committed
    • Refactor SEP prepare to clarify that it is equivalent to EPI prepare. · 2cc51db5
      Before this change:
      - SimpleExoPlayer.prepare(mediaSource) ended up calling
        ExoPlayerImpl.setMediaSourcesInternal() with startWindowIndex=0 and
        resetToDefaultPosition=false.
      - ExoPlayerImpl.prepare(mediaSource) ended up calling
        ExoPlayerImpl.setMediaSourcesInternal() with
        startWindowIndex=C.INDEX_UNSET and resetToDefaultPosition=true.
      
      This was functionaly equivalent but a bit confusing.
      
      #minor-release
      
      PiperOrigin-RevId: 368818143
      kimvde committed
    • Replace Util.toUpperInvariant() with Ascii.toUpperCase() · fff7b807
      Even when fixed to the US locale (and thus avoiding surprising behaviour
      in e.g. Turkish locale with "i" and "I") there are unexpected behaviours
      when upper and lower casing non-ASCII characters.
      
      For example it's sometimes not symmetric, e.g.:
      "ẞ".toLowerCase() -> "ß"
      "ß".toUpperCase() -> "SS"
      
      In all the ExoPlayer usages we are either dealing with known-ASCII
      strings (e.g. MIME types) or comparing against ASCII constant strings
      anyway, so it seems easier to just use Guava's ASCII-only class in these
      cases.
      
      Util.toUpperInvariant() is null-tolerant, while Ascii.toLowercase() is
      not. Most usages in this change are clearly non-null. The BandwidthMeter
      usages aren't annotated @Nullable, but the current code *would* work if
      countryCode was null in both cases. These methods will now throw NPE if
      they're passed null.
      
      PiperOrigin-RevId: 368816287
      ibaker committed
    • Merge pull request #8814 from dlafayet:line-height · 5511bb66
      PiperOrigin-RevId: 368803206
      Oliver Woodman committed