Better naming

This commit is contained in:
litetex 2022-03-16 15:46:07 +01:00
parent ee5e0e13b7
commit cefb52471f
3 changed files with 5 additions and 5 deletions

View File

@ -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;
}

View File

@ -42,6 +42,6 @@ class PlaybackSpeedClickListener(
player.isSomePopupMenuVisible = true
}
player.afterOnClick(v)
player.manageControlsAfterOnClick(v)
}
}

View File

@ -36,6 +36,6 @@ class QualityClickListener(
}
player.saveWasPlaying()
player.afterOnClick(v)
player.manageControlsAfterOnClick(v)
}
}