Commit 1d4f99cc by ibaker Committed by Ian Baker

Add PlayerView to the stable API

PiperOrigin-RevId: 437777445
parent ad6396a3
...@@ -43,6 +43,7 @@ import android.view.ViewGroup; ...@@ -43,6 +43,7 @@ import android.view.ViewGroup;
import android.widget.FrameLayout; import android.widget.FrameLayout;
import android.widget.ImageView; import android.widget.ImageView;
import android.widget.TextView; import android.widget.TextView;
import androidx.annotation.ColorInt;
import androidx.annotation.IntDef; import androidx.annotation.IntDef;
import androidx.annotation.Nullable; import androidx.annotation.Nullable;
import androidx.annotation.RequiresApi; import androidx.annotation.RequiresApi;
...@@ -625,7 +626,7 @@ public class StyledPlayerView extends FrameLayout implements AdViewProvider { ...@@ -625,7 +626,7 @@ public class StyledPlayerView extends FrameLayout implements AdViewProvider {
* *
* @param color The background color. * @param color The background color.
*/ */
public void setShutterBackgroundColor(int color) { public void setShutterBackgroundColor(@ColorInt int color) {
if (shutterView != null) { if (shutterView != null) {
shutterView.setBackgroundColor(color); shutterView.setBackgroundColor(color);
} }
......
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