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 @@ -3759,14 +3759,14 @@ public void onClick(final View v) {
37593759 context .sendBroadcast (new Intent (VideoDetailFragment .ACTION_HIDE_MAIN_PLAYER ));
37603760 }
37613761
3762- afterOnClick (v );
3762+ manageControlsAfterOnClick (v );
37633763 }
37643764
37653765 /**
3766- * Function that should be executed after a click occured on the player UI.
3766+ * Manages the controls after a click occurred on the player UI.
37673767 * @param v – The view that was clicked
37683768 */
3769- public void afterOnClick (@ NonNull final View v ) {
3769+ public void manageControlsAfterOnClick (@ NonNull final View v ) {
37703770 if (currentState == STATE_COMPLETED ) {
37713771 return ;
37723772 }
Original file line number Diff line number Diff line change @@ -42,6 +42,6 @@ class PlaybackSpeedClickListener(
4242 player.isSomePopupMenuVisible = true
4343 }
4444
45- player.afterOnClick (v)
45+ player.manageControlsAfterOnClick (v)
4646 }
4747}
Original file line number Diff line number Diff line change @@ -36,6 +36,6 @@ class QualityClickListener(
3636 }
3737
3838 player.saveWasPlaying()
39- player.afterOnClick (v)
39+ player.manageControlsAfterOnClick (v)
4040 }
4141}
You can’t perform that action at this time.
0 commit comments