mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2024-11-22 02:53:09 +01:00
Better naming
This commit is contained in:
parent
ee5e0e13b7
commit
cefb52471f
@ -3759,14 +3759,14 @@ public final class Player implements
|
||||
context.sendBroadcast(new Intent(VideoDetailFragment.ACTION_HIDE_MAIN_PLAYER));
|
||||
}
|
||||
|
||||
afterOnClick(v);
|
||||
manageControlsAfterOnClick(v);
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that should be executed after a click occured on the player UI.
|
||||
* Manages the controls after a click occurred on the player UI.
|
||||
* @param v – The view that was clicked
|
||||
*/
|
||||
public void afterOnClick(@NonNull final View v) {
|
||||
public void manageControlsAfterOnClick(@NonNull final View v) {
|
||||
if (currentState == STATE_COMPLETED) {
|
||||
return;
|
||||
}
|
||||
|
@ -42,6 +42,6 @@ class PlaybackSpeedClickListener(
|
||||
player.isSomePopupMenuVisible = true
|
||||
}
|
||||
|
||||
player.afterOnClick(v)
|
||||
player.manageControlsAfterOnClick(v)
|
||||
}
|
||||
}
|
||||
|
@ -36,6 +36,6 @@ class QualityClickListener(
|
||||
}
|
||||
|
||||
player.saveWasPlaying()
|
||||
player.afterOnClick(v)
|
||||
player.manageControlsAfterOnClick(v)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user