You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aws-android-sdk-s3/src/main/java/com/amazonaws/mobileconnectors/s3/transferutility/TransferStatusUpdater.java
-17Lines changed: 0 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -244,23 +244,6 @@ public void run() {
244
244
}
245
245
}
246
246
}
247
-
248
-
// If all transfers in local map are completed,
249
-
// stop TransferService to clear foreground notification
250
-
if (Build.VERSION.SDK_INT >= 26) {
251
-
booleanstopTransferService = true;
252
-
for (TransferRecordrecord : transfers.values()) {
253
-
if (!TransferState.isFinalState(record.state)) {
254
-
stopTransferService = false;
255
-
LOGGER.info("Transfers still pending, keeping TransferService running.");
256
-
break;
257
-
}
258
-
}
259
-
if (stopTransferService) {
260
-
LOGGER.info("All transfers in final state. Stopping TransferService");
0 commit comments