Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
1d4f99cc
authored
Mar 28, 2022
by
ibaker
Committed by
Ian Baker
Apr 07, 2022
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Add PlayerView to the stable API
PiperOrigin-RevId: 437777445
parent
ad6396a3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
library/ui/src/main/java/com/google/android/exoplayer2/ui/StyledPlayerView.java
library/ui/src/main/java/com/google/android/exoplayer2/ui/StyledPlayerView.java
View file @
1d4f99cc
...
@@ -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
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment