Remove noisy log calls

This commit is contained in:
tzugen 2021-04-17 11:56:11 +02:00
parent 8d4d1ba660
commit 4787924fcc
No known key found for this signature in database
GPG Key ID: 61E9C34BC10EC930

View File

@ -1377,11 +1377,9 @@ public class PlayerFragment extends Fragment implements GestureDetector.OnGestur
case DOWNLOADING: case DOWNLOADING:
final long bytes = currentPlaying != null ? currentPlaying.getPartialFile().length() : 0; final long bytes = currentPlaying != null ? currentPlaying.getPartialFile().length() : 0;
String downloadStatus = getResources().getString(R.string.download_playerstate_downloading, Util.formatLocalizedBytes(bytes, getContext())); String downloadStatus = getResources().getString(R.string.download_playerstate_downloading, Util.formatLocalizedBytes(bytes, getContext()));
Timber.d("Player set title");
FragmentTitle.Companion.setTitle(PlayerFragment.this, downloadStatus); FragmentTitle.Companion.setTitle(PlayerFragment.this, downloadStatus);
break; break;
case PREPARING: case PREPARING:
Timber.d("Player set title");
FragmentTitle.Companion.setTitle(PlayerFragment.this, R.string.download_playerstate_buffering); FragmentTitle.Companion.setTitle(PlayerFragment.this, R.string.download_playerstate_buffering);
break; break;
case STARTED: case STARTED:
@ -1389,17 +1387,14 @@ public class PlayerFragment extends Fragment implements GestureDetector.OnGestur
if (mediaPlayerController != null && mediaPlayerController.isShufflePlayEnabled()) if (mediaPlayerController != null && mediaPlayerController.isShufflePlayEnabled())
{ {
Timber.d("Player set title");
FragmentTitle.Companion.setTitle(PlayerFragment.this, R.string.download_playerstate_playing_shuffle); FragmentTitle.Companion.setTitle(PlayerFragment.this, R.string.download_playerstate_playing_shuffle);
} }
else else
{ {
Timber.d("Player set title");
FragmentTitle.Companion.setTitle(PlayerFragment.this, R.string.common_appname); FragmentTitle.Companion.setTitle(PlayerFragment.this, R.string.common_appname);
} }
break; break;
default: default:
Timber.d("Player set title");
FragmentTitle.Companion.setTitle(PlayerFragment.this, R.string.common_appname); FragmentTitle.Companion.setTitle(PlayerFragment.this, R.string.common_appname);
break; break;
case IDLE: case IDLE: