Commit 2d808010 by olly Committed by Oliver Woodman

Ensure changes are reflected into attrs

PiperOrigin-RevId: 222628386
parent e99c9041
...@@ -241,11 +241,7 @@ import java.util.List; ...@@ -241,11 +241,7 @@ import java.util.List;
*/ */
public class PlayerView extends FrameLayout { public class PlayerView extends FrameLayout {
private static final int SURFACE_TYPE_NONE = 0; // LINT.IfChange
private static final int SURFACE_TYPE_SURFACE_VIEW = 1;
private static final int SURFACE_TYPE_TEXTURE_VIEW = 2;
private static final int SURFACE_TYPE_MONO360_VIEW = 3;
/** /**
* Determines when the buffering view is shown. One of {@link #SHOW_BUFFERING_NEVER}, {@link * Determines when the buffering view is shown. One of {@link #SHOW_BUFFERING_NEVER}, {@link
* #SHOW_BUFFERING_WHEN_PLAYING} or {@link #SHOW_BUFFERING_ALWAYS}. * #SHOW_BUFFERING_WHEN_PLAYING} or {@link #SHOW_BUFFERING_ALWAYS}.
...@@ -266,6 +262,14 @@ public class PlayerView extends FrameLayout { ...@@ -266,6 +262,14 @@ public class PlayerView extends FrameLayout {
* buffering} state. * buffering} state.
*/ */
public static final int SHOW_BUFFERING_ALWAYS = 2; public static final int SHOW_BUFFERING_ALWAYS = 2;
// LINT.ThenChange(../../../../../../res/values/attrs.xml)
// LINT.IfChange
private static final int SURFACE_TYPE_NONE = 0;
private static final int SURFACE_TYPE_SURFACE_VIEW = 1;
private static final int SURFACE_TYPE_TEXTURE_VIEW = 2;
private static final int SURFACE_TYPE_MONO360_VIEW = 3;
// LINT.ThenChange(../../../../../../res/values/attrs.xml)
private final AspectRatioFrameLayout contentFrame; private final AspectRatioFrameLayout contentFrame;
private final View shutterView; private final View shutterView;
......
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