media/libraries
tonihei 9abe9e2a97 Refine auto-update logic of CommandButton.isEnabled
We currently update this value for controllers to match the
availability of the associated command. This however makes it
impossible to mark a button as unavailable if the command is
available. This can be refined by only setting the 'enabled'
field to false if the command is not available, not the other
way round. And we should also enable the button by default as
disabling is the unusual case not many apps will use.

In addition, this change fixes missing update logic when the
player commands changed and it adds some additional test coverage
for all these cases.

PiperOrigin-RevId: 612881016
2024-03-05 10:08:17 -08:00
..
cast Return empty timeline when media info is null 2023-11-20 09:55:36 -08:00
common Have VideoSampleExporter output orientation match input 2024-02-28 07:40:53 -08:00
container Add MdtaMetadataEntry constructor with default locale indicator 2024-02-22 10:55:50 -08:00
database Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
datasource Move bitmap decoding into datasource util 2024-02-20 06:57:02 -08:00
datasource_cronet Remove deprecated CronetDataSourceFactory 2024-02-29 04:59:35 -08:00
datasource_okhttp Replace or suppress deprecated usages 2024-01-26 10:06:18 -08:00
datasource_rtmp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder Satisfy nullness checker correctness by using local variable 2023-10-31 12:56:32 +00:00
decoder_av1 Replace or suppress deprecated usages 2024-01-26 10:06:18 -08:00
decoder_ffmpeg Replace or suppress deprecated usages 2024-01-26 10:06:18 -08:00
decoder_flac Rollback of 8e2869278c 2024-02-15 02:35:12 -08:00
decoder_midi MidiExtractor: mark only the first sample as key-frame 2023-11-21 07:39:46 -08:00
decoder_opus Rollback of 8e2869278c 2024-02-15 02:35:12 -08:00
decoder_vp9 Rollback of 8e2869278c 2024-02-15 02:35:12 -08:00
effect Test effect-enabled playback 2024-02-27 09:44:24 -08:00
exoplayer Add BasePreloadManager and DefaultPreloadManager 2024-03-05 07:14:18 -08:00
exoplayer_dash Rollback of 406c0a15be 2024-02-07 09:56:59 -08:00
exoplayer_hls Rollback of 406c0a15be 2024-02-07 09:56:59 -08:00
exoplayer_ima Rollback of 8e2869278c 2024-02-15 02:35:12 -08:00
exoplayer_rtsp Allow empty information attributes in RTSP Session Description 2024-02-20 02:47:40 -08:00
exoplayer_smoothstreaming Rollback of 406c0a15be 2024-02-07 09:56:59 -08:00
exoplayer_workmanager Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
extractor Add Mp4ExtractorTest case for pixel-motion-photo-2-hevc-tracks.mp4 2024-02-28 01:23:01 -08:00
muxer Rename DefaultMp4Writer to BasicMp4Writer 2024-02-29 04:16:15 -08:00
session Refine auto-update logic of CommandButton.isEnabled 2024-03-05 10:08:17 -08:00
test_data Have VideoSampleExporter output orientation match input 2024-02-28 07:40:53 -08:00
test_exoplayer_playback Rollback of 8e2869278c 2024-02-15 02:35:12 -08:00
test_session_common Remove unnecessary SDK_INT checks 2024-02-13 10:26:19 +00:00
test_session_current Refine auto-update logic of CommandButton.isEnabled 2024-03-05 10:08:17 -08:00
test_utils Test effect-enabled playback 2024-02-27 09:44:24 -08:00
test_utils_robolectric Fix some invalid javadoc references caught by a new JDK version 2024-03-05 05:48:34 -08:00
transformer Move AudioGraph effects to configure method 2024-03-05 04:46:36 -08:00
ui Small clean-ups and added @InlineMe annotation 2024-02-13 14:48:15 +00:00
ui_leanback Bump effect and leanback minSdk to 19 2024-01-10 07:22:00 -08:00
lint.xml Update recommended way to suppress @UnstableApi errors in lint.xml 2023-11-15 02:34:40 -08:00