Merge pull request #1010 from Bnyro/master

small fixes
This commit is contained in:
Bnyro 2022-08-10 16:32:30 +02:00 committed by GitHub
commit 26564d7f7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -14,7 +14,7 @@
# Uncomment this to preserve the line number information for # Uncomment this to preserve the line number information for
# debugging stack traces. # debugging stack traces.
#-keepattributes SourceFile,LineNumberTable -keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to # If you keep the line number information, uncomment this to
# hide the original source file name. # hide the original source file name.

View File

@ -23,7 +23,7 @@
android:requestLegacyExternalStorage="true" android:requestLegacyExternalStorage="true"
android:roundIcon="@mipmap/ic_launcher_round" android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true" android:supportsRtl="true"
android:theme="@style/Theme.Purple" android:theme="@style/Theme.Purple.Pure"
tools:targetApi="n"> tools:targetApi="n">
<activity <activity

View File

@ -739,7 +739,8 @@ class PlayerFragment : BaseFragment() {
if (!isLive) seekToWatchPosition() if (!isLive) seekToWatchPosition()
exoPlayer.prepare() exoPlayer.prepare()
exoPlayer.play() exoPlayer.play()
exoPlayerView.useController = true // show controllers when not in picture in picture mode
if (!activity?.isInPictureInPictureMode!!) exoPlayerView.useController = true
initializePlayerNotification() initializePlayerNotification()
if (sponsorBlockEnabled) fetchSponsorBlockSegments() if (sponsorBlockEnabled) fetchSponsorBlockSegments()
// show comments if related streams disabled // show comments if related streams disabled