From abe77c478366a69889a2add3f7ff7718f3056110 Mon Sep 17 00:00:00 2001 From: TheLastGimbus Date: Sun, 14 Jun 2020 19:52:58 +0200 Subject: [PATCH] Change to final --- .../java/org/schabi/newpipe/player/ServicePlayerActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/schabi/newpipe/player/ServicePlayerActivity.java b/app/src/main/java/org/schabi/newpipe/player/ServicePlayerActivity.java index 195f0da95..a957eb28d 100644 --- a/app/src/main/java/org/schabi/newpipe/player/ServicePlayerActivity.java +++ b/app/src/main/java/org/schabi/newpipe/player/ServicePlayerActivity.java @@ -692,7 +692,7 @@ public abstract class ServicePlayerActivity extends AppCompatActivity private void onPlaybackParameterChanged(final PlaybackParameters parameters) { if (parameters != null) { if (menu != null && player != null) { - MenuItem item = menu.findItem(R.id.action_playback_speed); + final MenuItem item = menu.findItem(R.id.action_playback_speed); item.setTitle(formatSpeed(parameters.speed)); } }