Skip to content

Commit 0764983

Browse files
committed
Why log double?
1 parent 2b2f1ee commit 0764983

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

app/src/main/java/org/schabi/newpipe/player/event/PlayerGestureListener.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,11 +210,8 @@ public void onScrollEnd(@NotNull final MainPlayer.PlayerType playerType,
210210
Log.d(TAG, "onScrollEnd called with playerType = ["
211211
+ player.getPlayerType() + "]");
212212
}
213+
213214
if (playerType == MainPlayer.PlayerType.VIDEO) {
214-
if (DEBUG) {
215-
Log.d(TAG, "onScrollEnd() called");
216-
}
217-
218215
if (player.getVolumeRelativeLayout().getVisibility() == View.VISIBLE) {
219216
animate(player.getVolumeRelativeLayout(), false, 200, SCALE_AND_ALPHA,
220217
200);

0 commit comments

Comments
 (0)