Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d7f17b53 authored by Fahim Salam Chowdhury's avatar Fahim Salam Chowdhury 👽 Committed by Hasib Prince
Browse files

Minor refactoring & copyright updated

parent cfea5074
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
/*
 *  Copyright (C) 2022  ECORP
 *  Copyright (C) 2022 MURENA SAS
 *
 *   This program is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
+115 −114
Original line number Diff line number Diff line
@@ -63,6 +63,7 @@ class DownloadManagerUtils @Inject constructor(
                    val numberOfDownloadedItems =
                        fusedDownload.downloadIdMap.values.filter { it }.size
                    Timber.d("===> updateDownloadStatus: ${fusedDownload.name}: $downloadId: $numberOfDownloadedItems/${fusedDownload.downloadIdMap.size}")

                    if (validateDownload(numberOfDownloadedItems, fusedDownload, downloadId)) {
                        Timber.d("===> Download is completed for: ${fusedDownload.name}")
                        fusedManagerRepository.moveOBBFileToOBBDirectory(fusedDownload)