Change to final
This commit is contained in:
parent
72af51fe9d
commit
abe77c4783
|
@ -692,7 +692,7 @@ public abstract class ServicePlayerActivity extends AppCompatActivity
|
||||||
private void onPlaybackParameterChanged(final PlaybackParameters parameters) {
|
private void onPlaybackParameterChanged(final PlaybackParameters parameters) {
|
||||||
if (parameters != null) {
|
if (parameters != null) {
|
||||||
if (menu != null && player != 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));
|
item.setTitle(formatSpeed(parameters.speed));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue