Skip to content

Commit 1d5e229

Browse files
committed
fix
1 parent cc4cf6b commit 1d5e229

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

app/src/main/java/com/example/gsyvideoplayer/video/MultiSampleVideo.java

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,23 @@ public int getLayoutId() {
8888
return R.layout.video_layout_cover;
8989
}
9090

91+
@Override
92+
public void onAudioFocusGain() {
93+
94+
}
95+
96+
@Override
97+
public void onAudioFocusLoss() {
98+
}
99+
100+
@Override
101+
public void onAudioFocusLossTransient() {
102+
}
103+
104+
@Override
105+
public void onAudioFocusLossTransientCanDuck() {
106+
}
107+
91108
public void loadCoverImage(String url, int res) {
92109
mCoverOriginUrl = url;
93110
mDefaultRes = res;

0 commit comments

Comments
 (0)