mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-09-11 03:56:23 +00:00
Merge branch 'pip-fixes' into 'master'
PiP Fixes See merge request videostreaming/grayjay!146
This commit is contained in:
commit
9d576a5229
1 changed files with 1 additions and 2 deletions
|
@ -2517,7 +2517,6 @@ class VideoDetailView : ConstraintLayout {
|
|||
if (!StateCasting.instance.resumeVideo()) {
|
||||
_player.play();
|
||||
}
|
||||
onShouldEnterPictureInPictureChanged.emit()
|
||||
|
||||
//TODO: This was needed because handleLowerVolume was done.
|
||||
//_player.setVolume(1.0f);
|
||||
|
@ -2534,7 +2533,6 @@ class VideoDetailView : ConstraintLayout {
|
|||
if (!StateCasting.instance.pauseVideo()) {
|
||||
_player.pause();
|
||||
}
|
||||
onShouldEnterPictureInPictureChanged.emit()
|
||||
}
|
||||
private fun handleSeek(ms: Long) {
|
||||
Logger.i(TAG, "handleSeek(ms=$ms)")
|
||||
|
@ -2583,6 +2581,7 @@ class VideoDetailView : ConstraintLayout {
|
|||
}
|
||||
|
||||
isPlaying = playing;
|
||||
onShouldEnterPictureInPictureChanged.emit()
|
||||
updateTracker(lastPositionMilliseconds, playing, true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue