Ensure that imports handle disabling media tunneling correctly

Store in preferences whether media tunneling was disabled automatically.
Show info in ExoPlayer settings if media tunneling was disabled autmatically.
This commit is contained in:
TobiGr 2023-07-29 22:08:24 +02:00
parent cce9e09bbc
commit 829b36a9cd
7 changed files with 78 additions and 4 deletions

View file

@ -255,7 +255,7 @@ public final class DeviceUtils {
* See https://github.com/TeamNewPipe/NewPipe/issues/5911
* @Note Add a new {@link org.schabi.newpipe.settings.SettingMigrations.Migration} which calls
* {@link org.schabi.newpipe.settings.NewPipeSettings#setMediaTunneling(Context)}
* when adding a new device to the method
* when adding a new device to the method.
* @return {@code false} if affected device; {@code true} otherwise
*/
public static boolean shouldSupportMediaTunneling() {