Skip to content

Commit

Permalink
add warning about experimental PiP mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jmir1 committed Nov 26, 2021
1 parent bc4fd7b commit 966172d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,6 @@
android:theme="@style/Theme.AppCompat.Light.NoActionBar.FullScreen"
android:supportsPictureInPicture="true"
android:resizeableActivity="true"
android:excludeFromRecents="true"
android:taskAffinity=".PlayerActivity"
android:configChanges="keyboardHidden|orientation|screenSize|screenLayout|smallestScreenSize"
android:screenOrientation="userLandscape"
android:launchMode="singleTask"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import eu.kanade.tachiyomi.R
import eu.kanade.tachiyomi.util.preference.defaultValue
import eu.kanade.tachiyomi.util.preference.entriesRes
import eu.kanade.tachiyomi.util.preference.listPreference
import eu.kanade.tachiyomi.util.preference.summaryRes
import eu.kanade.tachiyomi.util.preference.switchPreference
import eu.kanade.tachiyomi.util.preference.titleRes
import eu.kanade.tachiyomi.data.preference.PreferenceKeys as Keys
Expand Down Expand Up @@ -97,6 +98,7 @@ class SettingsPlayerController : SettingsController() {
switchPreference {
key = Keys.pipPlayerPreference
titleRes = R.string.pref_pip_player
summaryRes = R.string.pref_pip_player_summary
defaultValue = false
}
}
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@
<string name="pref_skip_10">10s</string>
<string name="pref_skip_5">5s</string>
<string name="pref_pip_player">Enable picture in picture mode</string>
<string name="pref_pip_player_summary">Note: this is still an experimental feature!</string>
<string name="pref_always_use_external_player">Always use external player</string>
<string name="pref_external_player_preference">External player preference</string>
<string name="pref_progress_70">70%</string>
Expand Down

0 comments on commit 966172d

Please sign in to comment.