media/libraries
Googler 5410286955 Update instrumentation to avoid making all constructors public
Previously, any constructors instrumented by Robolectric were made public. This
caused two types of issues:

1) If Android classes had non-public constructors which were made public and
added to the Android API, Robolectric allowed tests to incorrectly use the
constructors on older SDK levels (where they were non-public). This most
commonly occurs for AccessibiltyEvent and AccessibilityNodeInfo.

2) When reflection was used to instantiate classes that were instrumented by
Robolectric, all constructors were accessible, which did not match what
happened when running on an Android test.

Update the instrumentation in Robolectric to prevent making all public
constructors.

PiperOrigin-RevId: 510049123
2023-02-17 11:41:53 +00:00
..
cast Clarify behavior for out-of-bounds indices and align implementations 2022-12-21 15:07:20 +00:00
common Effect: Rename FrameProcessor 2023-02-17 11:41:06 +00:00
database Add javadoc links to README files 2022-12-12 11:19:23 +00:00
datasource Merge pull request #10959 from balachandarlinks:handle-sql-exception-in-cached-content-index 2023-02-14 14:24:36 +00:00
datasource_cronet Add javadoc links to README files 2022-12-12 11:19:23 +00:00
datasource_okhttp Add javadoc links to README files 2022-12-12 11:19:23 +00:00
datasource_rtmp Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_av1 Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_ffmpeg Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_flac Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_opus Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_vp9 Add javadoc links to README files 2022-12-12 11:19:23 +00:00
effect Effect: Rename FrameProcessor 2023-02-17 11:41:06 +00:00
exoplayer Update instrumentation to avoid making all constructors public 2023-02-17 11:41:53 +00:00
exoplayer_dash Merge pull request #248 from lemondoglol:update-segment-size 2023-02-08 14:08:36 +00:00
exoplayer_hls Update SampleQueue.sourceId to be a long rather than an int. 2023-02-14 14:23:40 +00:00
exoplayer_ima Add ad event listeners in the Looper event of the ad manager callback 2023-02-13 12:26:04 +00:00
exoplayer_rtsp Catch IllegalArgumentExceptions in RTSP Response parsing 2023-02-13 14:18:53 +00:00
exoplayer_smoothstreaming Merge pull request #248 from lemondoglol:update-segment-size 2023-02-08 14:08:36 +00:00
exoplayer_workmanager Add javadoc links to README files 2022-12-12 11:19:23 +00:00
extractor Encapsulate Opus frames in Ogg during audio offload 2023-02-08 14:12:06 +00:00
session Update notification play/pause button with matching player state 2023-02-10 14:57:53 +00:00
test_data Effect: Implement brightness convenience class. 2023-02-13 19:34:34 +00:00
test_exoplayer_playback Fix instrumentation tests not working via Gradle 2022-09-30 18:03:11 +00:00
test_session_common Do not assume a valid queue in 3rd party sessions 2023-02-01 10:34:25 +00:00
test_session_current Session: advertise legacy FLAG_HANDLES_QUEUE_COMMANDS 2023-02-02 15:38:04 +00:00
test_utils Effect: Rename FrameProcessor 2023-02-17 11:41:06 +00:00
test_utils_robolectric Rollback of 7e63997459 2022-12-21 15:13:24 +00:00
transformer Effect: Rename FrameProcessor 2023-02-17 11:41:06 +00:00
ui Tweak UI behavior when commands are missing. 2023-02-01 10:22:15 +00:00
ui_leanback Fix (another) LeanbackPlayerAdapter param name mismatch 2023-02-01 10:41:50 +00:00