mirror of
https://github.com/androidx/media.git
synced 2025-04-29 22:36:54 +08:00

`Util.SDK_INT` was introduced to be able to simulate any SDK version during tests. This is possible by using Robolectric's `@Config(sdk)` annotation. All usages of `Util.SDK_INT` have been replaced by `Build.VERSION.SDK_INT`. This is a similar change to what was done in #2107.
Effect demo
This app demonstrates how to use the Effect API to modify videos. It uses
setVideoEffects
method to add different effects to ExoPlayer.
See the demos README for instructions on how to build and run this demo.