chore(android/engine): Ignore DownloadManager if ID not found

This commit is contained in:
Darcy Wong 2022-04-29 14:43:18 +07:00
parent 04985017ab
commit 5a3c7effe3

View file

@ -140,7 +140,7 @@ public class CloudDownloadMgr{
CloudApiTypes.CloudDownloadSet _parentSet = getDownloadSetForInternalDownloadId(anInternalDownloadId);
if(_parentSet==null) {
KMLog.LogError(TAG, "Download with ID " + anInternalDownloadId + " is not available");
// Download ID didn't match, so nothing to cleanup
return;
}
_parentSet.setDone(anInternalDownloadId);