diff --git a/app/src/main/java/org/schabi/newpipe/player/Player.java b/app/src/main/java/org/schabi/newpipe/player/Player.java index e09532f413c..195bf7392d2 100644 --- a/app/src/main/java/org/schabi/newpipe/player/Player.java +++ b/app/src/main/java/org/schabi/newpipe/player/Player.java @@ -1432,7 +1432,7 @@ public void onPlayerError(@NonNull final PlaybackException error) { break; case ERROR_CODE_FAILED_RUNTIME_CHECK: // Try to handle tunneling related exceptions - String stackTrace = Log.getStackTraceString(error.getCause()); + final String stackTrace = Log.getStackTraceString(error.getCause()); Log.d(TAG, "Unexpected PlaybackException! Cause: " + stackTrace); if (trackSelector.getParameters().tunnelingEnabled && stackTrace.contains("Surface")) {