From e1d24fceb5967c5c50b130cbdb1dd86bbacc48fe Mon Sep 17 00:00:00 2001 From: Robby Widyahartono Date: Wed, 12 Feb 2020 10:39:51 +0700 Subject: [PATCH] Remove unused code --- .../main/java/com/brentvatne/exoplayer/ExoPlayerView.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/android-exoplayer/src/main/java/com/brentvatne/exoplayer/ExoPlayerView.java b/android-exoplayer/src/main/java/com/brentvatne/exoplayer/ExoPlayerView.java index a8d6311a..6564eaa9 100644 --- a/android-exoplayer/src/main/java/com/brentvatne/exoplayer/ExoPlayerView.java +++ b/android-exoplayer/src/main/java/com/brentvatne/exoplayer/ExoPlayerView.java @@ -136,11 +136,8 @@ public final class ExoPlayerView extends FrameLayout implements AdsLoader.AdView public View[] getAdOverlayViews() { ArrayList overlayViews = new ArrayList<>(); if (adOverlayFrameLayout != null) { - overlayViews.add(adOverlayFrameLayout); + overlayViews.add(adOverlayFrameLayout); } - // if (controller != null) { - // overlayViews.add(controller); - // } return overlayViews.toArray(new View[0]); }