mirror of
https://github.com/zoriya/react-native-video.git
synced 2026-08-16 02:56:22 +00:00
Remove unused code
This commit is contained in:
@@ -136,11 +136,8 @@ public final class ExoPlayerView extends FrameLayout implements AdsLoader.AdView
|
||||
public View[] getAdOverlayViews() {
|
||||
ArrayList<View> overlayViews = new ArrayList<>();
|
||||
if (adOverlayFrameLayout != null) {
|
||||
overlayViews.add(adOverlayFrameLayout);
|
||||
overlayViews.add(adOverlayFrameLayout);
|
||||
}
|
||||
// if (controller != null) {
|
||||
// overlayViews.add(controller);
|
||||
// }
|
||||
return overlayViews.toArray(new View[0]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user