mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-02-01 11:16:47 +01:00
Removed unused StringBuilder
This commit is contained in:
parent
11ef58f592
commit
13ca1a8dbc
@ -16,7 +16,6 @@ import de.danoeh.antennapod.core.util.gui.NotificationUtils;
|
|||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.concurrent.ConcurrentLinkedDeque;
|
|
||||||
|
|
||||||
public class DownloadServiceNotification {
|
public class DownloadServiceNotification {
|
||||||
private static final String TAG = "DownloadSvcNotification";
|
private static final String TAG = "DownloadSvcNotification";
|
||||||
@ -148,11 +147,6 @@ public class DownloadServiceNotification {
|
|||||||
iconId = R.drawable.auto_download_complete;
|
iconId = R.drawable.auto_download_complete;
|
||||||
intent = ClientConfig.downloadServiceCallbacks.getAutoDownloadReportNotificationContentIntent(context);
|
intent = ClientConfig.downloadServiceCallbacks.getAutoDownloadReportNotificationContentIntent(context);
|
||||||
id = AUTO_REPORT_ID;
|
id = AUTO_REPORT_ID;
|
||||||
StringBuilder sb = new StringBuilder();
|
|
||||||
for (DownloadStatus status: reportQueue) {
|
|
||||||
sb.append("A");
|
|
||||||
sb.append("\n");
|
|
||||||
}
|
|
||||||
content = createAutoDownloadNotificationContent(reportQueue);
|
content = createAutoDownloadNotificationContent(reportQueue);
|
||||||
} else {
|
} else {
|
||||||
channelId = NotificationUtils.CHANNEL_ID_ERROR;
|
channelId = NotificationUtils.CHANNEL_ID_ERROR;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user