Move log statement into "if (DEBUG)"

This commit is contained in:
Xiang Rong Lin 2020-02-01 16:27:53 +01:00
parent b5ea61a079
commit 90c20f124b
1 changed files with 4 additions and 2 deletions

View File

@ -291,8 +291,10 @@ public final class BookmarkFragment
return;
}
if (DEBUG) {
Log.d(TAG, "Updating playlist id=[" + id +
"] with new name=[" + name + "] items");
}
localPlaylistManager.renamePlaylist(id, name);
final Disposable disposable = localPlaylistManager.renamePlaylist(id, name)