1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-09-28 15:08:50 +00:00

Fixed checkstyle

This commit is contained in:
Robin 2021-05-14 12:15:48 +02:00
parent 1d43a2362c
commit 98ccd577d6

View File

@ -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));