* add pip
* fixed OnResume() OnStop()
add picture in picture button
add pip settings
* fixed sourceRectHint
add aspectRatio
* fix import
* improve hide playerControls
* add onNewIntent()
* Home button/gesture settings
* add summary
* add GESTURE_EXCLUSION_AREA_SIDE
* remove if else in sourceRectHint
fix onStop() behavior
* fix behavior when using pip button, now go home
* test
* fix onStop()
* fix: mpv aspect ratio
* fix when in PiP mode and starting new playback
* refactor: pip implementation
Remove option to disable pip button, always show the button when pip is supported
Remove the option to completely disable pip
Format using ktlint
* fix when in pip mode and play a new video
* fix recent app behavior
* lint
* Some adjustments
* fix: Aspect ratio is too extreme
* fix: Activity recreation
* fix merge issues
* fix merge issues
* ktlintFormat
* Add Picture in Picture
* fix
* fix sourceRectHint, updateZoomMode before entering pip
* lint
* fix: disable pip when player is locked
* lint
* lint
* fix: sourceRectHint
* fix: replace media items in mpv
* fix: don't show skip intro button in pip
* chore: remove `android:resizeableActivity` from manifest since the default is already `true`
* refactor: remove option to force 16:9 aspect ratio
* refactor: update strings
---------
Co-authored-by: Jarne Demeulemeester <jarnedemeulemeester@gmail.com>
* feat: lock player controls
Add Lock Player feature.
This feature is similar to the feature found in the stock Jellyfin Android app and in the VLC app.
When enabled, it disables the gestures (seek, volume and brightness control), disables the default player controls and leaves only two buttons: a back button and an "unlock" button.
Pressing the unlock button reverts the player back to the initial state, e.g. gestures enabled and default buttons shown.
Works with ExoPlayer and MPV Player.
Let me know of any issues.
* Update PlayerGestureHelper.kt
* Fixed spacing issues
* fixed bug + formatting
* Simplified code
* Fixed spacing
* fixed trailing line?
* refactor: set locked layout initial visibility in xml
---------
Co-authored-by: jarnedemeulemeester <jarnedemeulemeester@gmail.com>