media/libraries
christosts faf1f35feb DefaultMediaNotificationProvider: limit requests to load same bitmap
The DefaultMediaNotificationProvider caches the last loaded artwork
bitmap so that the bitmap isn't loaded again when the notification is
updated, e.g., the player is transiting from playing to paused. However,
loading bitmap requests for bitmaps that are already being loaded are
not suppressed. For example, if the notification is updated while the
artwork is still downloading, the same artwork might be downloaded
multiple times.

This change suppresses a bitmap load request if the same artwork is
still being loaded, to avoid additional artwork downloads.

#minor-release

PiperOrigin-RevId: 462572221
(cherry picked from commit dd2c16bc45)
2022-07-22 09:05:10 +00:00
..
cast Add timestamp to CueGroup 2022-06-22 17:19:55 +01:00
common Annotate methods that always return this with @CanIgnoreReturnValue 2022-07-21 15:24:07 +00:00
database Mark all non-public IntDefs as only TYPE_USE 2022-02-21 16:56:36 +00:00
datasource Annotate methods that always return this with @CanIgnoreReturnValue 2022-07-21 15:24:07 +00:00
datasource_cronet Annotate methods that always return this with @CanIgnoreReturnValue 2022-07-21 15:24:07 +00:00
datasource_okhttp Annotate methods that always return this with @CanIgnoreReturnValue 2022-07-21 15:24:07 +00:00
datasource_rtmp Annotate methods that always return this with @CanIgnoreReturnValue 2022-07-21 15:24:07 +00:00
decoder Expect PresentationTime Discontinuity During Stream Transitions 2022-04-26 14:21:36 +01:00
decoder_av1 Make sure native library loads use correct class loader 2022-02-22 11:25:44 +00:00
decoder_ffmpeg Remove FfmpegVideoRenderer from 2.18.0 release 2022-05-30 17:58:14 +00:00
decoder_flac Make sure native library loads use correct class loader 2022-02-22 11:25:44 +00:00
decoder_opus Ignore decoding test cases when library not available 2022-05-31 15:33:33 +00:00
decoder_vp9 Make sure native library loads use correct class loader 2022-02-22 11:25:44 +00:00
exoplayer Annotate methods that always return this with @CanIgnoreReturnValue 2022-07-21 15:24:07 +00:00
exoplayer_dash Annotate methods that always return this with @CanIgnoreReturnValue 2022-07-21 15:24:07 +00:00
exoplayer_hls Annotate methods that always return this with @CanIgnoreReturnValue 2022-07-21 15:24:07 +00:00
exoplayer_ima Annotate methods that always return this with @CanIgnoreReturnValue 2022-07-21 15:24:07 +00:00
exoplayer_rtsp Annotate methods that always return this with @CanIgnoreReturnValue 2022-07-21 15:24:07 +00:00
exoplayer_smoothstreaming Annotate methods that always return this with @CanIgnoreReturnValue 2022-07-21 15:24:07 +00:00
exoplayer_workmanager Reformat some javadoc 2022-02-18 14:54:02 +00:00
extractor Annotate methods that always return this with @CanIgnoreReturnValue 2022-07-21 15:24:07 +00:00
session DefaultMediaNotificationProvider: limit requests to load same bitmap 2022-07-22 09:05:10 +00:00
test_data Add ContrastProcessor for contrast adjustments. 2022-07-20 21:38:10 +00:00
test_exoplayer_playback Annotate methods that always return this with @CanIgnoreReturnValue 2022-07-21 15:24:07 +00:00
test_session_common Run MediaSessionStub commands in order 2022-07-20 10:34:22 +00:00
test_session_current Annotate methods that always return this with @CanIgnoreReturnValue 2022-07-21 15:24:07 +00:00
test_utils Annotate methods that always return this with @CanIgnoreReturnValue 2022-07-21 15:24:07 +00:00
test_utils_robolectric Add timestamp to Metadata 2022-06-27 11:31:10 +00:00
transformer Annotate methods that always return this with @CanIgnoreReturnValue 2022-07-21 15:24:07 +00:00
ui Use the current overrides of the player as preset 2022-07-18 10:36:01 +00:00
ui_leanback Listen to playWhenReady changes in LeanbackPlayerAdapter 2022-07-11 15:49:33 +00:00