Remove unused code

This commit is contained in:
Robby Widyahartono 2020-02-12 10:39:51 +07:00 committed by GitHub
parent 17694400e2
commit e1d24fceb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,11 +136,8 @@ public final class ExoPlayerView extends FrameLayout implements AdsLoader.AdView
public View[] getAdOverlayViews() { public View[] getAdOverlayViews() {
ArrayList<View> overlayViews = new ArrayList<>(); ArrayList<View> overlayViews = new ArrayList<>();
if (adOverlayFrameLayout != null) { if (adOverlayFrameLayout != null) {
overlayViews.add(adOverlayFrameLayout); overlayViews.add(adOverlayFrameLayout);
} }
// if (controller != null) {
// overlayViews.add(controller);
// }
return overlayViews.toArray(new View[0]); return overlayViews.toArray(new View[0]);
} }