kopia lustrzana https://github.com/TeamNewPipe/NewPipe
Fixed checkstyle
rodzic
1d43a2362c
commit
98ccd577d6
|
@ -497,8 +497,8 @@ public final class Player implements
|
||||||
// enable media tunneling
|
// enable media tunneling
|
||||||
if (DEBUG && PreferenceManager.getDefaultSharedPreferences(context)
|
if (DEBUG && PreferenceManager.getDefaultSharedPreferences(context)
|
||||||
.getBoolean(context.getString(R.string.disable_media_tunneling_key), false)) {
|
.getBoolean(context.getString(R.string.disable_media_tunneling_key), false)) {
|
||||||
Log.d(TAG, "[" + Util.DEVICE_DEBUG_INFO + "] " +
|
Log.d(TAG, "[" + Util.DEVICE_DEBUG_INFO + "] "
|
||||||
"media tunneling disabled in debug preferences");
|
+ "media tunneling disabled in debug preferences");
|
||||||
} else if (DeviceUtils.shouldSupportMediaTunneling()) {
|
} else if (DeviceUtils.shouldSupportMediaTunneling()) {
|
||||||
trackSelector.setParameters(
|
trackSelector.setParameters(
|
||||||
trackSelector.buildUponParameters().setTunnelingEnabled(true));
|
trackSelector.buildUponParameters().setTunnelingEnabled(true));
|
||||||
|
|
Ładowanie…
Reference in New Issue