media/libraries
ibaker 287c757944 Slightly disentangle MediaBrowser/Controller(Impl)Base/Legacy
These constructors are currently very intertwined, passing `this`
references from the constructor of one to the constructor of another
before the first constructor is complete (and so the `this` reference
isn't really valid yet).

This change uses checker framework `@UnderInitialization` and
`@NotOnlyInitialized` annotations to make it more clear that the
references are not available yet. For the one 'direct' access needed
in the second constructor (calling `getApplicationLooper()`) we now
pass the `applicationLooper` directly alongside (to avoid needing to
dereference the reference 'too early').

This change also ensures that where a class hierarchy has a
'dependent' class hierarchy, the 'subclass' instance is always used
(by both subclass and superclass) without casting or manually hiding
the superclass field, by defining an overridable `getFoo()` method
instead and always using it.

#minor-release

PiperOrigin-RevId: 462335043
2022-07-21 12:59:23 +00:00
..
cast Don't set the tag in CastTimeline 2022-07-13 17:41:37 +00:00
common Add Util helper methods to work with Futures 2022-07-21 12:51:22 +00:00
database Mark all non-public IntDefs as only TYPE_USE 2022-02-21 16:56:36 +00:00
datasource Add @code tags to DefaultDataSource javadoc 2022-07-21 12:52:19 +00:00
datasource_cronet Add @deprecated javadoc to all @Deprecated @Override methods 2022-05-31 13:51:49 +00:00
datasource_okhttp Remove okhttp related proguard rules 2022-07-21 12:49:32 +00:00
datasource_rtmp Remove references to deprecated DefaultDataSourceFactory from dev guide 2022-03-24 15:13:09 +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 Add fail-fast null checks to the stable Player API 2022-07-21 12:46:05 +00:00
exoplayer_dash Fix setDataSourceFactory handling in DefaultMediaSourceFactory 2022-07-13 17:48:16 +00:00
exoplayer_hls Fix setDataSourceFactory handling in DefaultMediaSourceFactory 2022-07-13 17:48:16 +00:00
exoplayer_ima Simplify DefaultMediaSourceFactory instantiation in a test 2022-05-30 16:32:59 +00:00
exoplayer_rtsp Fix two typos in RtpVp8Reader and test 2022-07-13 17:43:29 +00:00
exoplayer_smoothstreaming Fix setDataSourceFactory handling in DefaultMediaSourceFactory 2022-07-13 17:48:16 +00:00
exoplayer_workmanager Reformat some javadoc 2022-02-18 14:54:02 +00:00
extractor Ignore reserved bit in parsing NAL unit type 2022-07-13 17:38:02 +00:00
session Slightly disentangle MediaBrowser/Controller(Impl)Base/Legacy 2022-07-21 12:59:23 +00:00
test_data Add ContrastProcessor for contrast adjustments. 2022-07-21 12:57:07 +00:00
test_exoplayer_playback Move TrackGroupArray back to ExoPlayer 2022-03-17 13:08:56 +00:00
test_session_common Run MediaSessionStub commands in order 2022-07-21 12:54:06 +00:00
test_session_current Run MediaSessionStub commands in order 2022-07-21 12:54:06 +00:00
test_utils Add method to check if tunneling is enabled. 2022-07-13 17:36:42 +00:00
test_utils_robolectric Add timestamp to Metadata 2022-07-04 19:36:57 +00:00
transformer HDR: Implement HLG EOTF and OETF. 2022-07-21 12:58:24 +00:00
ui Use the current overrides of the player as preset 2022-07-21 12:39:46 +00:00
ui_leanback Listen to playWhenReady changes in LeanbackPlayerAdapter 2022-07-12 15:07:10 +00:00