File tree Expand file tree Collapse file tree
app/src/main/java/org/schabi/newpipe/player Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2448,6 +2448,7 @@ public void onPositionDiscontinuity(
24482448 // Refresh the playback if there is a transition to the next video
24492449 final int newWindowIndex = simpleExoPlayer .getCurrentWindowIndex ();
24502450 switch (discontinuityReason ) {
2451+ case DISCONTINUITY_REASON_AUTO_TRANSITION :
24512452 case DISCONTINUITY_REASON_REMOVE :
24522453 // When player is in single repeat mode and a period transition occurs,
24532454 // we need to register a view count here since no metadata has changed
@@ -2470,7 +2471,6 @@ public void onPositionDiscontinuity(
24702471 }
24712472 break ;
24722473 case DISCONTINUITY_REASON_SKIP :
2473- case DISCONTINUITY_REASON_AUTO_TRANSITION :
24742474 break ; // only makes Android Studio linter happy, as there are no ads
24752475 }
24762476
You can’t perform that action at this time.
0 commit comments