mirror of
https://github.com/androidx/media.git
synced 2025-05-11 09:39:52 +08:00

Previously, Robolectric's instrumentation updated all constructors to be public. This caused two main types of problems: 1) When non-public constructors 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. Fix issues across Google3 Robolectric tests that were affected by this issue. A forthcoming change will fix the instrumentation in Robolectric to prevent this type of issue from occurring. Tested: TAP --sample ran all affected tests and none failed http://test/OCL:507861075:BASE:507805409:1675803313108:f2128fa4 PiperOrigin-RevId: 508087822
ExoPlayer library
The ExoPlayer library is split into multiple modules. See ExoPlayer's top level README for more information about the available library modules and how to use them.