mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2026-05-16 04:52:39 +02:00
Fixed issue where media session was not properly restarted after reopening the app after closing pip.
This commit is contained in:
+1
@@ -1199,6 +1199,7 @@ class VideoDetailView : ConstraintLayout {
|
||||
else if(_didStop) {
|
||||
_didStop = false;
|
||||
Logger.i(TAG, "loadCurrentVideo _lastPosition=${lastPositionMilliseconds}");
|
||||
StatePlayer.instance.startOrUpdateMediaSession(context, video);
|
||||
loadCurrentVideo(lastPositionMilliseconds);
|
||||
handlePause();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user