Commit cb7043ba by ibaker Committed by Ian Baker

Mark LegacyPlayerView as deprecated

This type is still known as PlayerView in exoplayer2

#minor-release

PiperOrigin-RevId: 426348286
parent 73af7073
...@@ -252,7 +252,10 @@ import org.checkerframework.checker.nullness.qual.RequiresNonNull; ...@@ -252,7 +252,10 @@ import org.checkerframework.checker.nullness.qual.RequiresNonNull;
* single instance in a layout file. This is achieved by setting the {@code player_layout_id} * single instance in a layout file. This is achieved by setting the {@code player_layout_id}
* attribute on a LegacyPlayerView. This will cause the specified layout to be inflated instead of * attribute on a LegacyPlayerView. This will cause the specified layout to be inflated instead of
* {@code exo_legacy_player_view.xml} for only the instance on which the attribute is set. * {@code exo_legacy_player_view.xml} for only the instance on which the attribute is set.
*
* @deprecated Use {@link PlayerView} instead.
*/ */
@Deprecated
@UnstableApi @UnstableApi
public class LegacyPlayerView extends FrameLayout implements AdViewProvider { public class LegacyPlayerView extends FrameLayout implements AdViewProvider {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment